clutter-gstreamer 2.0.1-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. data/Rakefile +70 -0
  2. data/lib/clutter-gst.rb +77 -0
  3. data/test/clutter-gstreamer-test-utils.rb +21 -0
  4. data/test/run-test.rb +52 -0
  5. data/vendor/local/bin/libclutter-gst-2.0-0.dll +0 -0
  6. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-enum-types.h +23 -0
  7. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-player.h +186 -0
  8. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-types.h +65 -0
  9. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-util.h +53 -0
  10. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-version.h +98 -0
  11. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-video-sink.h +111 -0
  12. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-video-texture.h +132 -0
  13. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst.h +41 -0
  14. data/vendor/local/lib/girepository-1.0/ClutterGst-2.0.typelib +0 -0
  15. data/vendor/local/lib/gstreamer-1.0/libgstclutter.dll +0 -0
  16. data/vendor/local/lib/gstreamer-1.0/libgstclutter.dll.a +0 -0
  17. data/vendor/local/lib/gstreamer-1.0/libgstclutter.la +41 -0
  18. data/vendor/local/lib/libclutter-gst-2.0.dll.a +0 -0
  19. data/vendor/local/lib/libclutter-gst-2.0.la +41 -0
  20. data/vendor/local/lib/pkgconfig/clutter-gst-2.0.pc +12 -0
  21. data/vendor/local/share/gir-1.0/ClutterGst-2.0.gir +1735 -0
  22. data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstPlayer.html +949 -0
  23. data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoSink.html +177 -0
  24. data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoTexture.html +579 -0
  25. data/vendor/local/share/gtk-doc/html/clutter-gst/ch01.html +33 -0
  26. data/vendor/local/share/gtk-doc/html/clutter-gst/ch02.html +48 -0
  27. data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Utilities.html +281 -0
  28. data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Versioning-Macros.html +144 -0
  29. data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst.devhelp2 +79 -0
  30. data/vendor/local/share/gtk-doc/html/clutter-gst/home.png +0 -0
  31. data/vendor/local/share/gtk-doc/html/clutter-gst/index.html +74 -0
  32. data/vendor/local/share/gtk-doc/html/clutter-gst/index.sgml +97 -0
  33. data/vendor/local/share/gtk-doc/html/clutter-gst/left.png +0 -0
  34. data/vendor/local/share/gtk-doc/html/clutter-gst/license.html +59 -0
  35. data/vendor/local/share/gtk-doc/html/clutter-gst/right.png +0 -0
  36. data/vendor/local/share/gtk-doc/html/clutter-gst/style.css +266 -0
  37. data/vendor/local/share/gtk-doc/html/clutter-gst/up.png +0 -0
  38. data/vendor/local/share/license/clutter-gst/AUTHORS +7 -0
  39. data/vendor/local/share/license/clutter-gst/COPYING +502 -0
  40. metadata +131 -0
data/Rakefile ADDED
@@ -0,0 +1,70 @@
1
+ # -*- ruby -*-
2
+ #
3
+ # Copyright (C) 2013 Ruby-GNOME2 Project Team
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+
19
+ $LOAD_PATH.unshift("./../glib2/lib")
20
+ require "gnome2/rake/package-task"
21
+
22
+ package_task = GNOME2::Rake::PackageTask.new do |package|
23
+ package.summary = "Ruby/ClutterGStreamer is a Ruby binding of Clutter-GStreamer."
24
+ package.description = "Ruby/ClutterGStreamer is a Ruby binding of Clutter-GStreamer."
25
+ package.dependency.gem.runtime = ["clutter", "gstreamer"]
26
+ package.dependency.gem.development = ["test-unit-notify"]
27
+ package.windows.packages = []
28
+ package.windows.dependencies = []
29
+ package.windows.build_dependencies = [
30
+ "glib2",
31
+ "gdk_pixbuf2",
32
+ "atk",
33
+ "pango",
34
+ "gobject-introspection",
35
+ "clutter",
36
+ "gstreamer",
37
+ ]
38
+ package.windows.gobject_introspection_dependencies = [
39
+ "atk",
40
+ "pango",
41
+ "clutter",
42
+ "gstreamer",
43
+ ]
44
+ package.external_packages = [
45
+ {
46
+ :name => "clutter-gst",
47
+ :download_site => :gnome,
48
+ :label => "Clutter-GStreamer",
49
+ :version => "2.0.2",
50
+ :compression_method => "xz",
51
+ :windows => {
52
+ :configure_args => [
53
+ "--enable-introspection",
54
+ ],
55
+ },
56
+ }
57
+ ]
58
+ end
59
+ package_task.define
60
+
61
+ Rake::Task["native:clutter-gstreamer:i386-mingw32"].prerequisites.clear
62
+
63
+ namespace :dependency do
64
+ desc "Install depenencies"
65
+ task :install do
66
+ # TODO: Install gir1.2-clutter-gst-1.0 on Debian.
67
+ end
68
+ end
69
+
70
+ task :build => "dependency:install"
@@ -0,0 +1,77 @@
1
+ # Copyright (C) 2013 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ require "clutter"
18
+ require "gst"
19
+
20
+ base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
21
+ vendor_dir = base_dir + "vendor" + "local"
22
+ vendor_bin_dir = vendor_dir + "bin"
23
+ GLib.prepend_dll_path(vendor_bin_dir)
24
+ vendor_girepository_dir = vendor_dir + "lib" + "girepository-1.0"
25
+ GObjectIntrospection.prepend_typelib_path(vendor_girepository_dir)
26
+
27
+ module ClutterGst
28
+ LOG_DOMAIN = "Clutter-GStreamer"
29
+ GLib::Log.set_log_domain(LOG_DOMAIN)
30
+
31
+ class << self
32
+ def const_missing(name)
33
+ init
34
+ if const_defined?(name)
35
+ const_get(name)
36
+ else
37
+ super
38
+ end
39
+ end
40
+
41
+ def init(argv=[])
42
+ loader = Loader.new(self, argv)
43
+ loader.load("ClutterGst")
44
+ class << self
45
+ remove_method(:init)
46
+ remove_method(:const_missing)
47
+ end
48
+ end
49
+ end
50
+
51
+ class Loader < GObjectIntrospection::Loader
52
+ class InitError < StandardError
53
+ end
54
+
55
+ def initialize(base_module, init_arguments)
56
+ super(base_module)
57
+ @init_arguments = init_arguments
58
+ end
59
+
60
+ private
61
+ def pre_load(repository, namespace)
62
+ init = repository.find(namespace, "init")
63
+ arguments = [
64
+ 1 + @init_arguments.size,
65
+ [$0] + @init_arguments,
66
+ ]
67
+ error, argc, argv = init.invoke(arguments)
68
+ @init_arguments.replace(argv)
69
+ if error.to_i <= 0
70
+ raise InitError, "failed to initialize Clutter-GStreamer: #{error.name}"
71
+ end
72
+ end
73
+
74
+ def post_load(repository, namespace)
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,21 @@
1
+ # Copyright (C) 2013 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ require "test-unit"
18
+ require "test/unit/notify"
19
+
20
+ module ClutterGStreamerTestUtils
21
+ end
data/test/run-test.rb ADDED
@@ -0,0 +1,52 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Copyright (C) 2013 Ruby-GNOME2 Project Team
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+
19
+ ruby_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
20
+ ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
21
+
22
+ glib_base = File.join(ruby_gnome2_base, "glib2")
23
+ gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
24
+ clutter_base = File.join(ruby_gnome2_base, "clutter")
25
+ gstreamer_base = File.join(ruby_gnome2_base, "gstreamer")
26
+
27
+ modules = [
28
+ [glib_base, "glib2"],
29
+ [gobject_introspection_base, "gobject-introspection"],
30
+ [clutter_base, "clutter"],
31
+ [gstreamer_base, "gstreamer"],
32
+ ]
33
+ modules.each do |target, module_name|
34
+ if system("which make > /dev/null")
35
+ `make -C #{target.dump} > /dev/null` or exit(false)
36
+ end
37
+ $LOAD_PATH.unshift(File.join(target, "ext", module_name))
38
+ $LOAD_PATH.unshift(File.join(target, "lib"))
39
+ end
40
+
41
+ $LOAD_PATH.unshift(File.join(glib_base, "test"))
42
+ require "glib-test-init"
43
+
44
+ $LOAD_PATH.unshift(File.join(gobject_introspection_base, "test"))
45
+ require "gobject-introspection-test-utils"
46
+
47
+ $LOAD_PATH.unshift(File.join(clutter_base, "test"))
48
+ require "clutter-test-utils"
49
+
50
+ require "clutter-gstreamer"
51
+
52
+ exit Test::Unit::AutoRunner.run(true)
@@ -0,0 +1,23 @@
1
+
2
+ /* Generated data (by glib-mkenums) */
3
+
4
+ #ifndef __CLUTTER_GST_ENUM_TYPES_H__
5
+ #define __CLUTTER_GST_ENUM_TYPES_H__
6
+
7
+ #include <glib-object.h>
8
+
9
+ G_BEGIN_DECLS
10
+
11
+ /* enumerations from "./clutter-gst-types.h" */
12
+ GType clutter_gst_seek_flags_get_type (void) G_GNUC_CONST;
13
+ #define CLUTTER_GST_TYPE_SEEK_FLAGS (clutter_gst_seek_flags_get_type())
14
+
15
+ GType clutter_gst_buffering_mode_get_type (void) G_GNUC_CONST;
16
+ #define CLUTTER_GST_TYPE_BUFFERING_MODE (clutter_gst_buffering_mode_get_type())
17
+
18
+ G_END_DECLS
19
+
20
+ #endif /* !__CLUTTER_GST_ENUM_TYPES_H__ */
21
+
22
+ /* Generated data ends here */
23
+
@@ -0,0 +1,186 @@
1
+ /*
2
+ * Clutter-GStreamer.
3
+ *
4
+ * GStreamer integration library for Clutter.
5
+ *
6
+ * clutter-gst-player.h - Wrap some convenience functions around playbin2
7
+ *
8
+ * Authored By Damien Lespiau <damien.lespiau@intel.com>
9
+ * Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>
10
+ *
11
+ * Copyright (C) 2011 Intel Corporation
12
+ *
13
+ * This library is free software; you can redistribute it and/or
14
+ * modify it under the terms of the GNU Lesser General Public
15
+ * License as published by the Free Software Foundation; either
16
+ * version 2 of the License, or (at your option) any later version.
17
+ *
18
+ * This library is distributed in the hope that it will be useful,
19
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21
+ * Lesser General Public License for more details.
22
+ *
23
+ * You should have received a copy of the GNU Lesser General Public
24
+ * License along with this library; if not, write to the
25
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
26
+ * Boston, MA 02111-1307, USA.
27
+ */
28
+
29
+ #ifndef __CLUTTER_GST_PLAYER_H__
30
+ #define __CLUTTER_GST_PLAYER_H__
31
+
32
+ #include <glib-object.h>
33
+
34
+ #include <clutter/clutter.h>
35
+
36
+ #include <clutter-gst/clutter-gst-types.h>
37
+
38
+ G_BEGIN_DECLS
39
+
40
+ #define CLUTTER_GST_TYPE_PLAYER clutter_gst_player_get_type()
41
+
42
+ #define CLUTTER_GST_PLAYER(obj) \
43
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
44
+ CLUTTER_GST_TYPE_PLAYER, \
45
+ ClutterGstPlayer))
46
+ #define CLUTTER_GST_IS_PLAYER(obj) \
47
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
48
+ CLUTTER_GST_TYPE_PLAYER))
49
+ #define CLUTTER_GST_PLAYER_GET_INTERFACE(obj) \
50
+ (G_TYPE_INSTANCE_GET_INTERFACE ((obj), \
51
+ CLUTTER_GST_TYPE_PLAYER, \
52
+ ClutterGstPlayerIface))
53
+
54
+ typedef struct _ClutterGstPlayer ClutterGstPlayer;
55
+ typedef struct _ClutterGstPlayerIface ClutterGstPlayerIface;
56
+ typedef struct _ClutterGstPlayerIfacePrivate ClutterGstPlayerIfacePrivate;
57
+
58
+
59
+ /**
60
+ * ClutterGstPlayer:
61
+ *
62
+ * #ClutterGstPlayer is an opaque structure whose members cannot be
63
+ * directly accessed
64
+ *
65
+ * Since: 1.4
66
+ */
67
+
68
+ /**
69
+ * ClutterGstPlayerIface:
70
+ * @download_buffering: handler for the #ClutterGstPlayer::download-buffering
71
+ * signal
72
+ *
73
+ * Interface vtable for #ClutterGstPlayer implementations
74
+ *
75
+ * Since: 1.4
76
+ */
77
+ struct _ClutterGstPlayerIface
78
+ {
79
+ /*< private >*/
80
+ GTypeInterface base_iface;
81
+
82
+ ClutterGstPlayerIfacePrivate *priv;
83
+
84
+ /*< public >*/
85
+ GstElement * (* get_pipeline) (ClutterGstPlayer *player);
86
+
87
+ gchar * (* get_user_agent) (ClutterGstPlayer *player);
88
+ void (* set_user_agent) (ClutterGstPlayer *player,
89
+ const gchar *user_agent);
90
+
91
+ ClutterGstSeekFlags (* get_seek_flags) (ClutterGstPlayer *player);
92
+ void (* set_seek_flags) (ClutterGstPlayer *player,
93
+ ClutterGstSeekFlags flags);
94
+
95
+ ClutterGstBufferingMode (* get_buffering_mode) (ClutterGstPlayer *player);
96
+ void (* set_buffering_mode) (ClutterGstPlayer *player,
97
+ ClutterGstBufferingMode mode);
98
+
99
+ GList * (* get_audio_streams) (ClutterGstPlayer *player);
100
+ gint (* get_audio_stream) (ClutterGstPlayer *player);
101
+ void (* set_audio_stream) (ClutterGstPlayer *player,
102
+ gint index_);
103
+
104
+ GList * (* get_subtitle_tracks) (ClutterGstPlayer *player);
105
+ gint (* get_subtitle_track) (ClutterGstPlayer *player);
106
+ void (* set_subtitle_track) (ClutterGstPlayer *player,
107
+ gint index_);
108
+
109
+ gboolean (*get_idle) (ClutterGstPlayer *player);
110
+
111
+ gboolean (*get_in_seek) (ClutterGstPlayer *player);
112
+
113
+ void (* _iface_reserved16) (void);
114
+ void (* _iface_reserved17) (void);
115
+ void (* _iface_reserved18) (void);
116
+ void (* _iface_reserved19) (void);
117
+ void (* _iface_reserved20) (void);
118
+ void (* _iface_reserved21) (void);
119
+ void (* _iface_reserved22) (void);
120
+ void (* _iface_reserved23) (void);
121
+ void (* _iface_reserved24) (void);
122
+ void (* _iface_reserved25) (void);
123
+ void (* _iface_reserved26) (void);
124
+ void (* _iface_reserved27) (void);
125
+ void (* _iface_reserved28) (void);
126
+ void (* _iface_reserved29) (void);
127
+ void (* _iface_reserved30) (void);
128
+ void (* _iface_reserved31) (void);
129
+ void (* _iface_reserved32) (void);
130
+ void (* _iface_reserved33) (void);
131
+ void (* _iface_reserved34) (void);
132
+ void (* _iface_reserved35) (void);
133
+
134
+ /* signals */
135
+ void (* download_buffering) (ClutterGstPlayer *player,
136
+ gdouble start,
137
+ gdouble stop);
138
+ void (* _clutter_reserved2) (void);
139
+ void (* _clutter_reserved3) (void);
140
+ void (* _clutter_reserved4) (void);
141
+ void (* _clutter_reserved5) (void);
142
+ void (* _clutter_reserved6) (void);
143
+ void (* _clutter_reserved7) (void);
144
+ void (* _clutter_reserved8) (void);
145
+ void (* _clutter_reserved9) (void);
146
+ void (* _clutter_reserved10) (void);
147
+ };
148
+
149
+ GType clutter_gst_player_get_type (void) G_GNUC_CONST;
150
+
151
+ void clutter_gst_player_class_init (GObjectClass *object_class);
152
+
153
+ gboolean clutter_gst_player_init (ClutterGstPlayer *player);
154
+ void clutter_gst_player_deinit (ClutterGstPlayer *player);
155
+
156
+ GstElement * clutter_gst_player_get_pipeline (ClutterGstPlayer *player);
157
+
158
+ gchar * clutter_gst_player_get_user_agent (ClutterGstPlayer *player);
159
+ void clutter_gst_player_set_user_agent (ClutterGstPlayer *player,
160
+ const gchar *user_agent);
161
+
162
+ ClutterGstSeekFlags clutter_gst_player_get_seek_flags (ClutterGstPlayer *player);
163
+ void clutter_gst_player_set_seek_flags (ClutterGstPlayer *player,
164
+ ClutterGstSeekFlags flags);
165
+
166
+ ClutterGstBufferingMode clutter_gst_player_get_buffering_mode (ClutterGstPlayer *player);
167
+ void clutter_gst_player_set_buffering_mode (ClutterGstPlayer *player,
168
+ ClutterGstBufferingMode mode);
169
+
170
+ GList * clutter_gst_player_get_audio_streams (ClutterGstPlayer *player);
171
+ gint clutter_gst_player_get_audio_stream (ClutterGstPlayer *player);
172
+ void clutter_gst_player_set_audio_stream (ClutterGstPlayer *player,
173
+ gint index_);
174
+
175
+ GList * clutter_gst_player_get_subtitle_tracks (ClutterGstPlayer *player);
176
+ gint clutter_gst_player_get_subtitle_track (ClutterGstPlayer *player);
177
+ void clutter_gst_player_set_subtitle_track (ClutterGstPlayer *player,
178
+ gint index_);
179
+
180
+ gboolean clutter_gst_player_get_idle (ClutterGstPlayer *player);
181
+
182
+ gboolean clutter_gst_player_get_in_seek (ClutterGstPlayer *player);
183
+
184
+ G_END_DECLS
185
+
186
+ #endif /* __CLUTTER_GST_PLAYER_H__ */
@@ -0,0 +1,65 @@
1
+ /*
2
+ * Clutter-GStreamer.
3
+ *
4
+ * GStreamer integration library for Clutter.
5
+ *
6
+ * clutter-gst-types.h - Clutter-Gst common types
7
+ *
8
+ * Authored By Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>
9
+ *
10
+ * Copyright (C) 2011 Intel Corporation
11
+ *
12
+ * This library is free software; you can redistribute it and/or
13
+ * modify it under the terms of the GNU Lesser General Public
14
+ * License as published by the Free Software Foundation; either
15
+ * version 2 of the License, or (at your option) any later version.
16
+ *
17
+ * This library is distributed in the hope that it will be useful,
18
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20
+ * Lesser General Public License for more details.
21
+ *
22
+ * You should have received a copy of the GNU Lesser General Public
23
+ * License along with this library; if not, write to the
24
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
25
+ * Boston, MA 02111-1307, USA.
26
+ */
27
+
28
+ #if !defined(__CLUTTER_GST_H_INSIDE__) && !defined(CLUTTER_GST_COMPILATION)
29
+ #error "Only <clutter-gst/clutter-gst.h> can be included directly."
30
+ #endif
31
+
32
+ #ifndef __CLUTTER_GST_TYPES_H__
33
+ #define __CLUTTER_GST_TYPES_H__
34
+
35
+ /**
36
+ * ClutterGstSeekFlags:
37
+ * @CLUTTER_GST_SEEK_FLAG_NONE: Fast seeks (key frame boundaries, default)
38
+ * @CLUTTER_GST_SEEK_FLAG_ACCURATE: Accurate seeks (potentially slower)
39
+ *
40
+ * Flags that can be given to clutter_gst_video_texture_set_seek_flags().
41
+ *
42
+ * Since: 1.4
43
+ */
44
+ typedef enum _ClutterGstSeekFlags
45
+ {
46
+ CLUTTER_GST_SEEK_FLAG_NONE = 0,
47
+ CLUTTER_GST_SEEK_FLAG_ACCURATE = 1 << 0
48
+ } ClutterGstSeekFlags;
49
+
50
+ /**
51
+ * ClutterGstBufferingMode:
52
+ * @CLUTTER_GST_BUFFERING_MODE_STREAM: In-memory buffering
53
+ * @CLUTTER_GST_BUFFERING_MODE_DOWNLOAD: On-disk buffering
54
+ *
55
+ * Different buffering policies clutter-gst supports
56
+ *
57
+ * Since: 1.4
58
+ */
59
+ typedef enum _ClutterGstBufferingMode
60
+ {
61
+ CLUTTER_GST_BUFFERING_MODE_STREAM,
62
+ CLUTTER_GST_BUFFERING_MODE_DOWNLOAD
63
+ } ClutterGstBufferingMode;
64
+
65
+ #endif /* __CLUTTER_GST_TYPES_H__ */