clutter-gstreamer 2.2.3-x86-mingw32 → 2.2.4-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +4 -3
  3. data/lib/clutter-gst.rb +1 -0
  4. data/vendor/local/bin/libclutter-gst-3.0-0.dll +0 -0
  5. data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-aspectratio.h +105 -0
  6. data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-camera-device.h +119 -0
  7. data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-camera-manager.h +100 -0
  8. data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-camera.h +206 -0
  9. data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-content.h +107 -0
  10. data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-crop.h +104 -0
  11. data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst-enum-types.h +0 -0
  12. data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-playback.h +169 -0
  13. data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-player.h +157 -0
  14. data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-types.h +167 -0
  15. data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst-util.h +1 -1
  16. data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst-version.h +4 -4
  17. data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst-video-sink.h +47 -34
  18. data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst.h +13 -7
  19. data/vendor/local/lib/girepository-1.0/ClutterGst-3.0.typelib +0 -0
  20. data/vendor/local/lib/gstreamer-1.0/libgstclutter-3.0.dll +0 -0
  21. data/vendor/local/lib/gstreamer-1.0/libgstclutter-3.0.dll.a +0 -0
  22. data/vendor/local/lib/gstreamer-1.0/libgstclutter-3.0.la +41 -0
  23. data/vendor/local/lib/libclutter-gst-3.0.dll.a +0 -0
  24. data/vendor/local/lib/libclutter-gst-3.0.la +41 -0
  25. data/vendor/local/lib/pkgconfig/clutter-gst-3.0.pc +12 -0
  26. data/vendor/local/share/gir-1.0/ClutterGst-3.0.gir +3308 -0
  27. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstAspectratio.html +171 -0
  28. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCamera.html +1528 -0
  29. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCameraDevice.html +418 -0
  30. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstContent.html +551 -0
  31. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCrop.html +198 -0
  32. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstPlayback.html +1559 -0
  33. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstPlayer.html +805 -0
  34. data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/ch01.html +10 -10
  35. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch02.html +42 -0
  36. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch03.html +45 -0
  37. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch04.html +35 -0
  38. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch05.html +39 -0
  39. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-3.0.devhelp2 +197 -0
  40. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Utilities.html +316 -0
  41. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Versioning-Macros.html +176 -0
  42. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Video-Sink.html +560 -0
  43. data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/home.png +0 -0
  44. data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/index.html +33 -10
  45. data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/index.sgml +273 -0
  46. data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/left-insensitive.png +0 -0
  47. data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/left.png +0 -0
  48. data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/license.html +7 -7
  49. data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/right-insensitive.png +0 -0
  50. data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/right.png +0 -0
  51. data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/style.css +260 -105
  52. data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/up-insensitive.png +0 -0
  53. data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/up.png +0 -0
  54. metadata +70 -42
  55. data/vendor/local/bin/libclutter-gst-2.0-0.dll +0 -0
  56. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-player.h +0 -186
  57. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-types.h +0 -65
  58. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-video-texture.h +0 -132
  59. data/vendor/local/lib/girepository-1.0/ClutterGst-2.0.typelib +0 -0
  60. data/vendor/local/lib/gstreamer-1.0/libgstclutter.dll +0 -0
  61. data/vendor/local/lib/gstreamer-1.0/libgstclutter.dll.a +0 -0
  62. data/vendor/local/lib/gstreamer-1.0/libgstclutter.la +0 -41
  63. data/vendor/local/lib/libclutter-gst-2.0.dll.a +0 -0
  64. data/vendor/local/lib/libclutter-gst-2.0.la +0 -41
  65. data/vendor/local/lib/pkgconfig/clutter-gst-2.0.pc +0 -12
  66. data/vendor/local/share/gir-1.0/ClutterGst-2.0.gir +0 -1795
  67. data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstPlayer.html +0 -1003
  68. data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoSink.html +0 -177
  69. data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoTexture.html +0 -624
  70. data/vendor/local/share/gtk-doc/html/clutter-gst/ch02.html +0 -48
  71. data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Utilities.html +0 -284
  72. data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Versioning-Macros.html +0 -144
  73. data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst.devhelp2 +0 -79
  74. data/vendor/local/share/gtk-doc/html/clutter-gst/index.sgml +0 -97
@@ -1,1795 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!-- This file was automatically generated from C sources - DO NOT EDIT!
3
- To affect the contents of this file, edit the original C definitions,
4
- and/or use gtk-doc annotations. -->
5
- <repository version="1.2"
6
- xmlns="http://www.gtk.org/introspection/core/1.0"
7
- xmlns:c="http://www.gtk.org/introspection/c/1.0"
8
- xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
9
- <include name="Clutter" version="1.0"/>
10
- <include name="GObject" version="2.0"/>
11
- <include name="Gst" version="1.0"/>
12
- <include name="GstAudio" version="1.0"/>
13
- <include name="GstBase" version="1.0"/>
14
- <include name="GstVideo" version="1.0"/>
15
- <package name="clutter-gst-2.0"/>
16
- <c:include name="clutter-gst/clutter-gst.h"/>
17
- <namespace name="ClutterGst"
18
- version="2.0"
19
- shared-library="libclutter-gst-2.0-0.dll"
20
- c:identifier-prefixes="ClutterGst"
21
- c:symbol-prefixes="clutter_gst">
22
- <enumeration name="BufferingMode"
23
- version="1.4"
24
- glib:type-name="ClutterGstBufferingMode"
25
- glib:get-type="clutter_gst_buffering_mode_get_type"
26
- c:type="ClutterGstBufferingMode">
27
- <doc xml:space="preserve">Different buffering policies clutter-gst supports</doc>
28
- <member name="stream"
29
- value="0"
30
- c:identifier="CLUTTER_GST_BUFFERING_MODE_STREAM"
31
- glib:nick="stream">
32
- <doc xml:space="preserve">In-memory buffering</doc>
33
- </member>
34
- <member name="download"
35
- value="1"
36
- c:identifier="CLUTTER_GST_BUFFERING_MODE_DOWNLOAD"
37
- glib:nick="download">
38
- <doc xml:space="preserve">On-disk buffering</doc>
39
- </member>
40
- </enumeration>
41
- <constant name="MAJOR_VERSION"
42
- value="2"
43
- c:type="CLUTTER_GST_MAJOR_VERSION">
44
- <doc xml:space="preserve">ClutterGst major version (e.g. "1", if %CLUTTER_GST_VERSION is "1.2.3")</doc>
45
- <type name="gint" c:type="gint"/>
46
- </constant>
47
- <constant name="MICRO_VERSION"
48
- value="12"
49
- c:type="CLUTTER_GST_MICRO_VERSION">
50
- <doc xml:space="preserve">ClutterGst micro version (e.g. "3", if %CLUTTER_GST_VERSION is "1.2.3")</doc>
51
- <type name="gint" c:type="gint"/>
52
- </constant>
53
- <constant name="MINOR_VERSION"
54
- value="0"
55
- c:type="CLUTTER_GST_MINOR_VERSION">
56
- <doc xml:space="preserve">ClutterGst minor version (e.g. "2", if %CLUTTER_GST_VERSION is "1.2.3")</doc>
57
- <type name="gint" c:type="gint"/>
58
- </constant>
59
- <interface name="Player"
60
- c:symbol-prefix="player"
61
- c:type="ClutterGstPlayer"
62
- version="1.4"
63
- glib:type-name="ClutterGstPlayer"
64
- glib:get-type="clutter_gst_player_get_type"
65
- glib:type-struct="PlayerIface">
66
- <doc xml:space="preserve">#ClutterGstPlayer is an opaque structure whose members cannot be
67
- directly accessed</doc>
68
- <prerequisite name="Clutter.Media"/>
69
- <function name="class_init"
70
- c:identifier="clutter_gst_player_class_init"
71
- version="1.4">
72
- <doc xml:space="preserve">Adds the #ClutterGstPlayer properties to a class and surchages the
73
- set/get_property of #GObjectClass. You should call this
74
- function at the end of the class_init method of the class
75
- implementing #ClutterGstPlayer.</doc>
76
- <return-value transfer-ownership="none">
77
- <type name="none" c:type="void"/>
78
- </return-value>
79
- <parameters>
80
- <parameter name="object_class" transfer-ownership="none">
81
- <doc xml:space="preserve">a #GObjectClass</doc>
82
- <type name="GObject.ObjectClass" c:type="GObjectClass*"/>
83
- </parameter>
84
- </parameters>
85
- </function>
86
- <virtual-method name="download_buffering">
87
- <return-value transfer-ownership="none">
88
- <type name="none" c:type="void"/>
89
- </return-value>
90
- <parameters>
91
- <instance-parameter name="player" transfer-ownership="none">
92
- <type name="Player" c:type="ClutterGstPlayer*"/>
93
- </instance-parameter>
94
- <parameter name="start" transfer-ownership="none">
95
- <type name="gdouble" c:type="gdouble"/>
96
- </parameter>
97
- <parameter name="stop" transfer-ownership="none">
98
- <type name="gdouble" c:type="gdouble"/>
99
- </parameter>
100
- </parameters>
101
- </virtual-method>
102
- <virtual-method name="get_audio_stream"
103
- invoker="get_audio_stream"
104
- version="1.4">
105
- <doc xml:space="preserve">Get the current audio stream. The number returned in the index of the
106
- audio stream playing in the list returned by
107
- clutter_gst_player_get_audio_streams().</doc>
108
- <return-value transfer-ownership="none">
109
- <doc xml:space="preserve">the index of the current audio stream, -1 if the media has no
110
- audio stream</doc>
111
- <type name="gint" c:type="gint"/>
112
- </return-value>
113
- <parameters>
114
- <instance-parameter name="player" transfer-ownership="none">
115
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
116
- <type name="Player" c:type="ClutterGstPlayer*"/>
117
- </instance-parameter>
118
- </parameters>
119
- </virtual-method>
120
- <virtual-method name="get_audio_streams"
121
- invoker="get_audio_streams"
122
- version="1.4">
123
- <doc xml:space="preserve">Get the list of audio streams of the current media.</doc>
124
- <return-value transfer-ownership="none">
125
- <doc xml:space="preserve">a list of
126
- strings describing the available audio streams</doc>
127
- <type name="GLib.List" c:type="GList*">
128
- <type name="utf8"/>
129
- </type>
130
- </return-value>
131
- <parameters>
132
- <instance-parameter name="player" transfer-ownership="none">
133
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
134
- <type name="Player" c:type="ClutterGstPlayer*"/>
135
- </instance-parameter>
136
- </parameters>
137
- </virtual-method>
138
- <virtual-method name="get_buffering_mode"
139
- invoker="get_buffering_mode"
140
- version="1.4">
141
- <return-value transfer-ownership="none">
142
- <doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
143
- <type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
144
- </return-value>
145
- <parameters>
146
- <instance-parameter name="player" transfer-ownership="none">
147
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
148
- <type name="Player" c:type="ClutterGstPlayer*"/>
149
- </instance-parameter>
150
- </parameters>
151
- </virtual-method>
152
- <virtual-method name="get_idle" invoker="get_idle" version="1.4">
153
- <doc xml:space="preserve">Get the idle state of the pipeline.</doc>
154
- <return-value transfer-ownership="none">
155
- <doc xml:space="preserve">TRUE if the pipline is in idle mode, FALSE otherwise.</doc>
156
- <type name="gboolean" c:type="gboolean"/>
157
- </return-value>
158
- <parameters>
159
- <instance-parameter name="player" transfer-ownership="none">
160
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
161
- <type name="Player" c:type="ClutterGstPlayer*"/>
162
- </instance-parameter>
163
- </parameters>
164
- </virtual-method>
165
- <virtual-method name="get_in_seek" invoker="get_in_seek" version="1.6">
166
- <doc xml:space="preserve">Whether the player is seeking.</doc>
167
- <return-value transfer-ownership="none">
168
- <doc xml:space="preserve">TRUE if the player is seeking, FALSE otherwise.</doc>
169
- <type name="gboolean" c:type="gboolean"/>
170
- </return-value>
171
- <parameters>
172
- <instance-parameter name="player" transfer-ownership="none">
173
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
174
- <type name="Player" c:type="ClutterGstPlayer*"/>
175
- </instance-parameter>
176
- </parameters>
177
- </virtual-method>
178
- <virtual-method name="get_pipeline" invoker="get_pipeline" version="1.4">
179
- <doc xml:space="preserve">Retrieves the #GstPipeline used by the @player, for direct use with
180
- GStreamer API.</doc>
181
- <return-value transfer-ownership="none">
182
- <doc xml:space="preserve">the #GstPipeline element used by the player</doc>
183
- <type name="Gst.Element" c:type="GstElement*"/>
184
- </return-value>
185
- <parameters>
186
- <instance-parameter name="player" transfer-ownership="none">
187
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
188
- <type name="Player" c:type="ClutterGstPlayer*"/>
189
- </instance-parameter>
190
- </parameters>
191
- </virtual-method>
192
- <virtual-method name="get_seek_flags"
193
- invoker="get_seek_flags"
194
- version="1.4">
195
- <doc xml:space="preserve">Get the current value of the seek-flags property.</doc>
196
- <return-value transfer-ownership="none">
197
- <doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
198
- <type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
199
- </return-value>
200
- <parameters>
201
- <instance-parameter name="player" transfer-ownership="none">
202
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
203
- <type name="Player" c:type="ClutterGstPlayer*"/>
204
- </instance-parameter>
205
- </parameters>
206
- </virtual-method>
207
- <virtual-method name="get_subtitle_track"
208
- invoker="get_subtitle_track"
209
- version="1.4">
210
- <doc xml:space="preserve">Get the current subtitles track. The number returned is the index of the
211
- subtiles track in the list returned by
212
- clutter_gst_player_get_subtitle_tracks().</doc>
213
- <return-value transfer-ownership="none">
214
- <doc xml:space="preserve">the index of the current subtitlest track, -1 if the media has
215
- no subtitles track or if the subtitles have been turned off</doc>
216
- <type name="gint" c:type="gint"/>
217
- </return-value>
218
- <parameters>
219
- <instance-parameter name="player" transfer-ownership="none">
220
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
221
- <type name="Player" c:type="ClutterGstPlayer*"/>
222
- </instance-parameter>
223
- </parameters>
224
- </virtual-method>
225
- <virtual-method name="get_subtitle_tracks"
226
- invoker="get_subtitle_tracks"
227
- version="1.4">
228
- <doc xml:space="preserve">Get the list of subtitles tracks of the current media.</doc>
229
- <return-value transfer-ownership="none">
230
- <doc xml:space="preserve">a list of
231
- strings describing the available subtitles tracks</doc>
232
- <type name="GLib.List" c:type="GList*">
233
- <type name="utf8"/>
234
- </type>
235
- </return-value>
236
- <parameters>
237
- <instance-parameter name="player" transfer-ownership="none">
238
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
239
- <type name="Player" c:type="ClutterGstPlayer*"/>
240
- </instance-parameter>
241
- </parameters>
242
- </virtual-method>
243
- <virtual-method name="get_user_agent"
244
- invoker="get_user_agent"
245
- version="1.4">
246
- <doc xml:space="preserve">Retrieves the user agent used when streaming.</doc>
247
- <return-value transfer-ownership="full">
248
- <doc xml:space="preserve">the user agent used. The returned string has to be freed with
249
- g_free()</doc>
250
- <type name="utf8" c:type="gchar*"/>
251
- </return-value>
252
- <parameters>
253
- <instance-parameter name="player" transfer-ownership="none">
254
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
255
- <type name="Player" c:type="ClutterGstPlayer*"/>
256
- </instance-parameter>
257
- </parameters>
258
- </virtual-method>
259
- <virtual-method name="set_audio_stream"
260
- invoker="set_audio_stream"
261
- version="1.4">
262
- <doc xml:space="preserve">Set the audio stream to play. @index_ is the index of the stream
263
- in the list returned by clutter_gst_player_get_audio_streams().</doc>
264
- <return-value transfer-ownership="none">
265
- <type name="none" c:type="void"/>
266
- </return-value>
267
- <parameters>
268
- <instance-parameter name="player" transfer-ownership="none">
269
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
270
- <type name="Player" c:type="ClutterGstPlayer*"/>
271
- </instance-parameter>
272
- <parameter name="index_" transfer-ownership="none">
273
- <doc xml:space="preserve">the index of the audio stream</doc>
274
- <type name="gint" c:type="gint"/>
275
- </parameter>
276
- </parameters>
277
- </virtual-method>
278
- <virtual-method name="set_buffering_mode"
279
- invoker="set_buffering_mode"
280
- version="1.4">
281
- <return-value transfer-ownership="none">
282
- <type name="none" c:type="void"/>
283
- </return-value>
284
- <parameters>
285
- <instance-parameter name="player" transfer-ownership="none">
286
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
287
- <type name="Player" c:type="ClutterGstPlayer*"/>
288
- </instance-parameter>
289
- <parameter name="mode" transfer-ownership="none">
290
- <doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
291
- <type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
292
- </parameter>
293
- </parameters>
294
- </virtual-method>
295
- <virtual-method name="set_seek_flags"
296
- invoker="set_seek_flags"
297
- version="1.4">
298
- <doc xml:space="preserve">Seeking can be done with several trade-offs. Clutter-gst defaults
299
- to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
300
- <return-value transfer-ownership="none">
301
- <type name="none" c:type="void"/>
302
- </return-value>
303
- <parameters>
304
- <instance-parameter name="player" transfer-ownership="none">
305
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
306
- <type name="Player" c:type="ClutterGstPlayer*"/>
307
- </instance-parameter>
308
- <parameter name="flags" transfer-ownership="none">
309
- <doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
310
- <type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
311
- </parameter>
312
- </parameters>
313
- </virtual-method>
314
- <virtual-method name="set_subtitle_track"
315
- invoker="set_subtitle_track"
316
- version="1.4">
317
- <doc xml:space="preserve">Set the subtitles track to play. @index_ is the index of the stream
318
- in the list returned by clutter_gst_player_get_subtitle_tracks().
319
-
320
- If @index_ is -1, the subtitles are turned off.</doc>
321
- <return-value transfer-ownership="none">
322
- <type name="none" c:type="void"/>
323
- </return-value>
324
- <parameters>
325
- <instance-parameter name="player" transfer-ownership="none">
326
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
327
- <type name="Player" c:type="ClutterGstPlayer*"/>
328
- </instance-parameter>
329
- <parameter name="index_" transfer-ownership="none">
330
- <doc xml:space="preserve">the index of the subtitles track</doc>
331
- <type name="gint" c:type="gint"/>
332
- </parameter>
333
- </parameters>
334
- </virtual-method>
335
- <virtual-method name="set_user_agent"
336
- invoker="set_user_agent"
337
- version="1.4">
338
- <doc xml:space="preserve">Sets the user agent to use when streaming.
339
-
340
- When streaming content, you might want to set a custom user agent, eg. to
341
- promote your software, make it appear in statistics or because the server
342
- requires a special user agent you want to impersonate.</doc>
343
- <return-value transfer-ownership="none">
344
- <type name="none" c:type="void"/>
345
- </return-value>
346
- <parameters>
347
- <instance-parameter name="player" transfer-ownership="none">
348
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
349
- <type name="Player" c:type="ClutterGstPlayer*"/>
350
- </instance-parameter>
351
- <parameter name="user_agent" transfer-ownership="none">
352
- <doc xml:space="preserve">the user agent</doc>
353
- <type name="utf8" c:type="const gchar*"/>
354
- </parameter>
355
- </parameters>
356
- </virtual-method>
357
- <method name="deinit"
358
- c:identifier="clutter_gst_player_deinit"
359
- version="1.4">
360
- <doc xml:space="preserve">Frees the resources created by clutter_gst_player_init(). After
361
- clutter_gst_player_deinit() has been called, no other player method can be
362
- called on the instance.</doc>
363
- <return-value transfer-ownership="none">
364
- <type name="none" c:type="void"/>
365
- </return-value>
366
- <parameters>
367
- <instance-parameter name="player" transfer-ownership="none">
368
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
369
- <type name="Player" c:type="ClutterGstPlayer*"/>
370
- </instance-parameter>
371
- </parameters>
372
- </method>
373
- <method name="get_audio_stream"
374
- c:identifier="clutter_gst_player_get_audio_stream"
375
- version="1.4">
376
- <doc xml:space="preserve">Get the current audio stream. The number returned in the index of the
377
- audio stream playing in the list returned by
378
- clutter_gst_player_get_audio_streams().</doc>
379
- <return-value transfer-ownership="none">
380
- <doc xml:space="preserve">the index of the current audio stream, -1 if the media has no
381
- audio stream</doc>
382
- <type name="gint" c:type="gint"/>
383
- </return-value>
384
- <parameters>
385
- <instance-parameter name="player" transfer-ownership="none">
386
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
387
- <type name="Player" c:type="ClutterGstPlayer*"/>
388
- </instance-parameter>
389
- </parameters>
390
- </method>
391
- <method name="get_audio_streams"
392
- c:identifier="clutter_gst_player_get_audio_streams"
393
- version="1.4">
394
- <doc xml:space="preserve">Get the list of audio streams of the current media.</doc>
395
- <return-value transfer-ownership="none">
396
- <doc xml:space="preserve">a list of
397
- strings describing the available audio streams</doc>
398
- <type name="GLib.List" c:type="GList*">
399
- <type name="utf8"/>
400
- </type>
401
- </return-value>
402
- <parameters>
403
- <instance-parameter name="player" transfer-ownership="none">
404
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
405
- <type name="Player" c:type="ClutterGstPlayer*"/>
406
- </instance-parameter>
407
- </parameters>
408
- </method>
409
- <method name="get_buffering_mode"
410
- c:identifier="clutter_gst_player_get_buffering_mode"
411
- version="1.4">
412
- <return-value transfer-ownership="none">
413
- <doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
414
- <type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
415
- </return-value>
416
- <parameters>
417
- <instance-parameter name="player" transfer-ownership="none">
418
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
419
- <type name="Player" c:type="ClutterGstPlayer*"/>
420
- </instance-parameter>
421
- </parameters>
422
- </method>
423
- <method name="get_idle"
424
- c:identifier="clutter_gst_player_get_idle"
425
- version="1.4">
426
- <doc xml:space="preserve">Get the idle state of the pipeline.</doc>
427
- <return-value transfer-ownership="none">
428
- <doc xml:space="preserve">TRUE if the pipline is in idle mode, FALSE otherwise.</doc>
429
- <type name="gboolean" c:type="gboolean"/>
430
- </return-value>
431
- <parameters>
432
- <instance-parameter name="player" transfer-ownership="none">
433
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
434
- <type name="Player" c:type="ClutterGstPlayer*"/>
435
- </instance-parameter>
436
- </parameters>
437
- </method>
438
- <method name="get_in_seek"
439
- c:identifier="clutter_gst_player_get_in_seek"
440
- version="1.6">
441
- <doc xml:space="preserve">Whether the player is seeking.</doc>
442
- <return-value transfer-ownership="none">
443
- <doc xml:space="preserve">TRUE if the player is seeking, FALSE otherwise.</doc>
444
- <type name="gboolean" c:type="gboolean"/>
445
- </return-value>
446
- <parameters>
447
- <instance-parameter name="player" transfer-ownership="none">
448
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
449
- <type name="Player" c:type="ClutterGstPlayer*"/>
450
- </instance-parameter>
451
- </parameters>
452
- </method>
453
- <method name="get_pipeline"
454
- c:identifier="clutter_gst_player_get_pipeline"
455
- version="1.4">
456
- <doc xml:space="preserve">Retrieves the #GstPipeline used by the @player, for direct use with
457
- GStreamer API.</doc>
458
- <return-value transfer-ownership="none">
459
- <doc xml:space="preserve">the #GstPipeline element used by the player</doc>
460
- <type name="Gst.Element" c:type="GstElement*"/>
461
- </return-value>
462
- <parameters>
463
- <instance-parameter name="player" transfer-ownership="none">
464
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
465
- <type name="Player" c:type="ClutterGstPlayer*"/>
466
- </instance-parameter>
467
- </parameters>
468
- </method>
469
- <method name="get_seek_flags"
470
- c:identifier="clutter_gst_player_get_seek_flags"
471
- version="1.4">
472
- <doc xml:space="preserve">Get the current value of the seek-flags property.</doc>
473
- <return-value transfer-ownership="none">
474
- <doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
475
- <type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
476
- </return-value>
477
- <parameters>
478
- <instance-parameter name="player" transfer-ownership="none">
479
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
480
- <type name="Player" c:type="ClutterGstPlayer*"/>
481
- </instance-parameter>
482
- </parameters>
483
- </method>
484
- <method name="get_subtitle_track"
485
- c:identifier="clutter_gst_player_get_subtitle_track"
486
- version="1.4">
487
- <doc xml:space="preserve">Get the current subtitles track. The number returned is the index of the
488
- subtiles track in the list returned by
489
- clutter_gst_player_get_subtitle_tracks().</doc>
490
- <return-value transfer-ownership="none">
491
- <doc xml:space="preserve">the index of the current subtitlest track, -1 if the media has
492
- no subtitles track or if the subtitles have been turned off</doc>
493
- <type name="gint" c:type="gint"/>
494
- </return-value>
495
- <parameters>
496
- <instance-parameter name="player" transfer-ownership="none">
497
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
498
- <type name="Player" c:type="ClutterGstPlayer*"/>
499
- </instance-parameter>
500
- </parameters>
501
- </method>
502
- <method name="get_subtitle_tracks"
503
- c:identifier="clutter_gst_player_get_subtitle_tracks"
504
- version="1.4">
505
- <doc xml:space="preserve">Get the list of subtitles tracks of the current media.</doc>
506
- <return-value transfer-ownership="none">
507
- <doc xml:space="preserve">a list of
508
- strings describing the available subtitles tracks</doc>
509
- <type name="GLib.List" c:type="GList*">
510
- <type name="utf8"/>
511
- </type>
512
- </return-value>
513
- <parameters>
514
- <instance-parameter name="player" transfer-ownership="none">
515
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
516
- <type name="Player" c:type="ClutterGstPlayer*"/>
517
- </instance-parameter>
518
- </parameters>
519
- </method>
520
- <method name="get_user_agent"
521
- c:identifier="clutter_gst_player_get_user_agent"
522
- version="1.4">
523
- <doc xml:space="preserve">Retrieves the user agent used when streaming.</doc>
524
- <return-value transfer-ownership="full">
525
- <doc xml:space="preserve">the user agent used. The returned string has to be freed with
526
- g_free()</doc>
527
- <type name="utf8" c:type="gchar*"/>
528
- </return-value>
529
- <parameters>
530
- <instance-parameter name="player" transfer-ownership="none">
531
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
532
- <type name="Player" c:type="ClutterGstPlayer*"/>
533
- </instance-parameter>
534
- </parameters>
535
- </method>
536
- <method name="init" c:identifier="clutter_gst_player_init" version="1.4">
537
- <doc xml:space="preserve">Initialize a #ClutterGstPlayer instance. You should call this
538
- function at the beginning of the init method of the class
539
- implementing #ClutterGstPlayer.
540
-
541
- When you're finished with the ClutterGstPlayer mixin features (usually in
542
- the dispose or finalize vfuncs), call clutter_gst_player_deinit() to
543
- desallocate the resources created by clutter_gst_player_init().</doc>
544
- <return-value transfer-ownership="none">
545
- <doc xml:space="preserve">TRUE if the initialization was successfull, FALSE otherwise.</doc>
546
- <type name="gboolean" c:type="gboolean"/>
547
- </return-value>
548
- <parameters>
549
- <instance-parameter name="player" transfer-ownership="none">
550
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
551
- <type name="Player" c:type="ClutterGstPlayer*"/>
552
- </instance-parameter>
553
- </parameters>
554
- </method>
555
- <method name="set_audio_stream"
556
- c:identifier="clutter_gst_player_set_audio_stream"
557
- version="1.4">
558
- <doc xml:space="preserve">Set the audio stream to play. @index_ is the index of the stream
559
- in the list returned by clutter_gst_player_get_audio_streams().</doc>
560
- <return-value transfer-ownership="none">
561
- <type name="none" c:type="void"/>
562
- </return-value>
563
- <parameters>
564
- <instance-parameter name="player" transfer-ownership="none">
565
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
566
- <type name="Player" c:type="ClutterGstPlayer*"/>
567
- </instance-parameter>
568
- <parameter name="index_" transfer-ownership="none">
569
- <doc xml:space="preserve">the index of the audio stream</doc>
570
- <type name="gint" c:type="gint"/>
571
- </parameter>
572
- </parameters>
573
- </method>
574
- <method name="set_buffering_mode"
575
- c:identifier="clutter_gst_player_set_buffering_mode"
576
- version="1.4">
577
- <return-value transfer-ownership="none">
578
- <type name="none" c:type="void"/>
579
- </return-value>
580
- <parameters>
581
- <instance-parameter name="player" transfer-ownership="none">
582
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
583
- <type name="Player" c:type="ClutterGstPlayer*"/>
584
- </instance-parameter>
585
- <parameter name="mode" transfer-ownership="none">
586
- <doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
587
- <type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
588
- </parameter>
589
- </parameters>
590
- </method>
591
- <method name="set_seek_flags"
592
- c:identifier="clutter_gst_player_set_seek_flags"
593
- version="1.4">
594
- <doc xml:space="preserve">Seeking can be done with several trade-offs. Clutter-gst defaults
595
- to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
596
- <return-value transfer-ownership="none">
597
- <type name="none" c:type="void"/>
598
- </return-value>
599
- <parameters>
600
- <instance-parameter name="player" transfer-ownership="none">
601
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
602
- <type name="Player" c:type="ClutterGstPlayer*"/>
603
- </instance-parameter>
604
- <parameter name="flags" transfer-ownership="none">
605
- <doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
606
- <type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
607
- </parameter>
608
- </parameters>
609
- </method>
610
- <method name="set_subtitle_track"
611
- c:identifier="clutter_gst_player_set_subtitle_track"
612
- version="1.4">
613
- <doc xml:space="preserve">Set the subtitles track to play. @index_ is the index of the stream
614
- in the list returned by clutter_gst_player_get_subtitle_tracks().
615
-
616
- If @index_ is -1, the subtitles are turned off.</doc>
617
- <return-value transfer-ownership="none">
618
- <type name="none" c:type="void"/>
619
- </return-value>
620
- <parameters>
621
- <instance-parameter name="player" transfer-ownership="none">
622
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
623
- <type name="Player" c:type="ClutterGstPlayer*"/>
624
- </instance-parameter>
625
- <parameter name="index_" transfer-ownership="none">
626
- <doc xml:space="preserve">the index of the subtitles track</doc>
627
- <type name="gint" c:type="gint"/>
628
- </parameter>
629
- </parameters>
630
- </method>
631
- <method name="set_user_agent"
632
- c:identifier="clutter_gst_player_set_user_agent"
633
- version="1.4">
634
- <doc xml:space="preserve">Sets the user agent to use when streaming.
635
-
636
- When streaming content, you might want to set a custom user agent, eg. to
637
- promote your software, make it appear in statistics or because the server
638
- requires a special user agent you want to impersonate.</doc>
639
- <return-value transfer-ownership="none">
640
- <type name="none" c:type="void"/>
641
- </return-value>
642
- <parameters>
643
- <instance-parameter name="player" transfer-ownership="none">
644
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
645
- <type name="Player" c:type="ClutterGstPlayer*"/>
646
- </instance-parameter>
647
- <parameter name="user_agent" transfer-ownership="none">
648
- <doc xml:space="preserve">the user agent</doc>
649
- <type name="utf8" c:type="const gchar*"/>
650
- </parameter>
651
- </parameters>
652
- </method>
653
- <property name="audio-stream"
654
- version="1.4"
655
- writable="1"
656
- transfer-ownership="none">
657
- <doc xml:space="preserve">Index of the current audio stream.</doc>
658
- <type name="gint" c:type="gint"/>
659
- </property>
660
- <property name="audio-streams" version="1.4" transfer-ownership="none">
661
- <doc xml:space="preserve">List of audio streams available on the current media.</doc>
662
- <type name="gpointer" c:type="gpointer"/>
663
- </property>
664
- <property name="idle" version="1.4" transfer-ownership="none">
665
- <doc xml:space="preserve">Whether the #ClutterGstPlayer is in idle mode.</doc>
666
- <type name="gboolean" c:type="gboolean"/>
667
- </property>
668
- <property name="in-seek" version="1.6" transfer-ownership="none">
669
- <doc xml:space="preserve">Whether or not the stream is being seeked.</doc>
670
- <type name="gboolean" c:type="gboolean"/>
671
- </property>
672
- <property name="seek-flags"
673
- version="1.4"
674
- writable="1"
675
- transfer-ownership="none">
676
- <doc xml:space="preserve">Flags to use when seeking.</doc>
677
- <type name="SeekFlags"/>
678
- </property>
679
- <property name="subtitle-track" writable="1" transfer-ownership="none">
680
- <type name="gint" c:type="gint"/>
681
- </property>
682
- <property name="subtitle-tracks" transfer-ownership="none">
683
- <type name="gpointer" c:type="gpointer"/>
684
- </property>
685
- <property name="user-agent"
686
- version="1.4"
687
- writable="1"
688
- transfer-ownership="none">
689
- <doc xml:space="preserve">The User Agent used by #ClutterGstPlayer with network protocols.</doc>
690
- <type name="utf8" c:type="gchar*"/>
691
- </property>
692
- <glib:signal name="download-buffering" when="last" version="1.4">
693
- <doc xml:space="preserve">The ::download-buffering signal is emitted each time their an
694
- update about the buffering of the current media.</doc>
695
- <return-value transfer-ownership="none">
696
- <type name="none" c:type="void"/>
697
- </return-value>
698
- <parameters>
699
- <parameter name="start" transfer-ownership="none">
700
- <doc xml:space="preserve">start position of the buffering</doc>
701
- <type name="gdouble" c:type="gdouble"/>
702
- </parameter>
703
- <parameter name="stop" transfer-ownership="none">
704
- <doc xml:space="preserve">start position of the buffering</doc>
705
- <type name="gdouble" c:type="gdouble"/>
706
- </parameter>
707
- </parameters>
708
- </glib:signal>
709
- </interface>
710
- <record name="PlayerIface"
711
- c:type="ClutterGstPlayerIface"
712
- glib:is-gtype-struct-for="Player"
713
- version="1.4">
714
- <doc xml:space="preserve">Interface vtable for #ClutterGstPlayer implementations</doc>
715
- <field name="base_iface" readable="0" private="1">
716
- <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
717
- </field>
718
- <field name="priv" readable="0" private="1">
719
- <type name="PlayerIfacePrivate"
720
- c:type="ClutterGstPlayerIfacePrivate*"/>
721
- </field>
722
- <field name="get_pipeline">
723
- <callback name="get_pipeline">
724
- <return-value transfer-ownership="none">
725
- <doc xml:space="preserve">the #GstPipeline element used by the player</doc>
726
- <type name="Gst.Element" c:type="GstElement*"/>
727
- </return-value>
728
- <parameters>
729
- <parameter name="player" transfer-ownership="none">
730
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
731
- <type name="Player" c:type="ClutterGstPlayer*"/>
732
- </parameter>
733
- </parameters>
734
- </callback>
735
- </field>
736
- <field name="get_user_agent">
737
- <callback name="get_user_agent">
738
- <return-value transfer-ownership="full">
739
- <doc xml:space="preserve">the user agent used. The returned string has to be freed with
740
- g_free()</doc>
741
- <type name="utf8" c:type="gchar*"/>
742
- </return-value>
743
- <parameters>
744
- <parameter name="player" transfer-ownership="none">
745
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
746
- <type name="Player" c:type="ClutterGstPlayer*"/>
747
- </parameter>
748
- </parameters>
749
- </callback>
750
- </field>
751
- <field name="set_user_agent">
752
- <callback name="set_user_agent">
753
- <return-value transfer-ownership="none">
754
- <type name="none" c:type="void"/>
755
- </return-value>
756
- <parameters>
757
- <parameter name="player" transfer-ownership="none">
758
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
759
- <type name="Player" c:type="ClutterGstPlayer*"/>
760
- </parameter>
761
- <parameter name="user_agent" transfer-ownership="none">
762
- <doc xml:space="preserve">the user agent</doc>
763
- <type name="utf8" c:type="const gchar*"/>
764
- </parameter>
765
- </parameters>
766
- </callback>
767
- </field>
768
- <field name="get_seek_flags">
769
- <callback name="get_seek_flags">
770
- <return-value transfer-ownership="none">
771
- <doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
772
- <type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
773
- </return-value>
774
- <parameters>
775
- <parameter name="player" transfer-ownership="none">
776
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
777
- <type name="Player" c:type="ClutterGstPlayer*"/>
778
- </parameter>
779
- </parameters>
780
- </callback>
781
- </field>
782
- <field name="set_seek_flags">
783
- <callback name="set_seek_flags">
784
- <return-value transfer-ownership="none">
785
- <type name="none" c:type="void"/>
786
- </return-value>
787
- <parameters>
788
- <parameter name="player" transfer-ownership="none">
789
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
790
- <type name="Player" c:type="ClutterGstPlayer*"/>
791
- </parameter>
792
- <parameter name="flags" transfer-ownership="none">
793
- <doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
794
- <type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
795
- </parameter>
796
- </parameters>
797
- </callback>
798
- </field>
799
- <field name="get_buffering_mode">
800
- <callback name="get_buffering_mode">
801
- <return-value transfer-ownership="none">
802
- <doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
803
- <type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
804
- </return-value>
805
- <parameters>
806
- <parameter name="player" transfer-ownership="none">
807
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
808
- <type name="Player" c:type="ClutterGstPlayer*"/>
809
- </parameter>
810
- </parameters>
811
- </callback>
812
- </field>
813
- <field name="set_buffering_mode">
814
- <callback name="set_buffering_mode">
815
- <return-value transfer-ownership="none">
816
- <type name="none" c:type="void"/>
817
- </return-value>
818
- <parameters>
819
- <parameter name="player" transfer-ownership="none">
820
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
821
- <type name="Player" c:type="ClutterGstPlayer*"/>
822
- </parameter>
823
- <parameter name="mode" transfer-ownership="none">
824
- <doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
825
- <type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
826
- </parameter>
827
- </parameters>
828
- </callback>
829
- </field>
830
- <field name="get_audio_streams">
831
- <callback name="get_audio_streams">
832
- <return-value transfer-ownership="none">
833
- <doc xml:space="preserve">a list of
834
- strings describing the available audio streams</doc>
835
- <type name="GLib.List" c:type="GList*">
836
- <type name="utf8"/>
837
- </type>
838
- </return-value>
839
- <parameters>
840
- <parameter name="player" transfer-ownership="none">
841
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
842
- <type name="Player" c:type="ClutterGstPlayer*"/>
843
- </parameter>
844
- </parameters>
845
- </callback>
846
- </field>
847
- <field name="get_audio_stream">
848
- <callback name="get_audio_stream">
849
- <return-value transfer-ownership="none">
850
- <doc xml:space="preserve">the index of the current audio stream, -1 if the media has no
851
- audio stream</doc>
852
- <type name="gint" c:type="gint"/>
853
- </return-value>
854
- <parameters>
855
- <parameter name="player" transfer-ownership="none">
856
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
857
- <type name="Player" c:type="ClutterGstPlayer*"/>
858
- </parameter>
859
- </parameters>
860
- </callback>
861
- </field>
862
- <field name="set_audio_stream">
863
- <callback name="set_audio_stream">
864
- <return-value transfer-ownership="none">
865
- <type name="none" c:type="void"/>
866
- </return-value>
867
- <parameters>
868
- <parameter name="player" transfer-ownership="none">
869
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
870
- <type name="Player" c:type="ClutterGstPlayer*"/>
871
- </parameter>
872
- <parameter name="index_" transfer-ownership="none">
873
- <doc xml:space="preserve">the index of the audio stream</doc>
874
- <type name="gint" c:type="gint"/>
875
- </parameter>
876
- </parameters>
877
- </callback>
878
- </field>
879
- <field name="get_subtitle_tracks">
880
- <callback name="get_subtitle_tracks">
881
- <return-value transfer-ownership="none">
882
- <doc xml:space="preserve">a list of
883
- strings describing the available subtitles tracks</doc>
884
- <type name="GLib.List" c:type="GList*">
885
- <type name="utf8"/>
886
- </type>
887
- </return-value>
888
- <parameters>
889
- <parameter name="player" transfer-ownership="none">
890
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
891
- <type name="Player" c:type="ClutterGstPlayer*"/>
892
- </parameter>
893
- </parameters>
894
- </callback>
895
- </field>
896
- <field name="get_subtitle_track">
897
- <callback name="get_subtitle_track">
898
- <return-value transfer-ownership="none">
899
- <doc xml:space="preserve">the index of the current subtitlest track, -1 if the media has
900
- no subtitles track or if the subtitles have been turned off</doc>
901
- <type name="gint" c:type="gint"/>
902
- </return-value>
903
- <parameters>
904
- <parameter name="player" transfer-ownership="none">
905
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
906
- <type name="Player" c:type="ClutterGstPlayer*"/>
907
- </parameter>
908
- </parameters>
909
- </callback>
910
- </field>
911
- <field name="set_subtitle_track">
912
- <callback name="set_subtitle_track">
913
- <return-value transfer-ownership="none">
914
- <type name="none" c:type="void"/>
915
- </return-value>
916
- <parameters>
917
- <parameter name="player" transfer-ownership="none">
918
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
919
- <type name="Player" c:type="ClutterGstPlayer*"/>
920
- </parameter>
921
- <parameter name="index_" transfer-ownership="none">
922
- <doc xml:space="preserve">the index of the subtitles track</doc>
923
- <type name="gint" c:type="gint"/>
924
- </parameter>
925
- </parameters>
926
- </callback>
927
- </field>
928
- <field name="get_idle">
929
- <callback name="get_idle">
930
- <return-value transfer-ownership="none">
931
- <doc xml:space="preserve">TRUE if the pipline is in idle mode, FALSE otherwise.</doc>
932
- <type name="gboolean" c:type="gboolean"/>
933
- </return-value>
934
- <parameters>
935
- <parameter name="player" transfer-ownership="none">
936
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
937
- <type name="Player" c:type="ClutterGstPlayer*"/>
938
- </parameter>
939
- </parameters>
940
- </callback>
941
- </field>
942
- <field name="get_in_seek">
943
- <callback name="get_in_seek">
944
- <return-value transfer-ownership="none">
945
- <doc xml:space="preserve">TRUE if the player is seeking, FALSE otherwise.</doc>
946
- <type name="gboolean" c:type="gboolean"/>
947
- </return-value>
948
- <parameters>
949
- <parameter name="player" transfer-ownership="none">
950
- <doc xml:space="preserve">a #ClutterGstPlayer</doc>
951
- <type name="Player" c:type="ClutterGstPlayer*"/>
952
- </parameter>
953
- </parameters>
954
- </callback>
955
- </field>
956
- <field name="_iface_reserved16" introspectable="0">
957
- <callback name="_iface_reserved16">
958
- <return-value transfer-ownership="none">
959
- <type name="none" c:type="void"/>
960
- </return-value>
961
- </callback>
962
- </field>
963
- <field name="_iface_reserved17" introspectable="0">
964
- <callback name="_iface_reserved17">
965
- <return-value transfer-ownership="none">
966
- <type name="none" c:type="void"/>
967
- </return-value>
968
- </callback>
969
- </field>
970
- <field name="_iface_reserved18" introspectable="0">
971
- <callback name="_iface_reserved18">
972
- <return-value transfer-ownership="none">
973
- <type name="none" c:type="void"/>
974
- </return-value>
975
- </callback>
976
- </field>
977
- <field name="_iface_reserved19" introspectable="0">
978
- <callback name="_iface_reserved19">
979
- <return-value transfer-ownership="none">
980
- <type name="none" c:type="void"/>
981
- </return-value>
982
- </callback>
983
- </field>
984
- <field name="_iface_reserved20" introspectable="0">
985
- <callback name="_iface_reserved20">
986
- <return-value transfer-ownership="none">
987
- <type name="none" c:type="void"/>
988
- </return-value>
989
- </callback>
990
- </field>
991
- <field name="_iface_reserved21" introspectable="0">
992
- <callback name="_iface_reserved21">
993
- <return-value transfer-ownership="none">
994
- <type name="none" c:type="void"/>
995
- </return-value>
996
- </callback>
997
- </field>
998
- <field name="_iface_reserved22" introspectable="0">
999
- <callback name="_iface_reserved22">
1000
- <return-value transfer-ownership="none">
1001
- <type name="none" c:type="void"/>
1002
- </return-value>
1003
- </callback>
1004
- </field>
1005
- <field name="_iface_reserved23" introspectable="0">
1006
- <callback name="_iface_reserved23">
1007
- <return-value transfer-ownership="none">
1008
- <type name="none" c:type="void"/>
1009
- </return-value>
1010
- </callback>
1011
- </field>
1012
- <field name="_iface_reserved24" introspectable="0">
1013
- <callback name="_iface_reserved24">
1014
- <return-value transfer-ownership="none">
1015
- <type name="none" c:type="void"/>
1016
- </return-value>
1017
- </callback>
1018
- </field>
1019
- <field name="_iface_reserved25" introspectable="0">
1020
- <callback name="_iface_reserved25">
1021
- <return-value transfer-ownership="none">
1022
- <type name="none" c:type="void"/>
1023
- </return-value>
1024
- </callback>
1025
- </field>
1026
- <field name="_iface_reserved26" introspectable="0">
1027
- <callback name="_iface_reserved26">
1028
- <return-value transfer-ownership="none">
1029
- <type name="none" c:type="void"/>
1030
- </return-value>
1031
- </callback>
1032
- </field>
1033
- <field name="_iface_reserved27" introspectable="0">
1034
- <callback name="_iface_reserved27">
1035
- <return-value transfer-ownership="none">
1036
- <type name="none" c:type="void"/>
1037
- </return-value>
1038
- </callback>
1039
- </field>
1040
- <field name="_iface_reserved28" introspectable="0">
1041
- <callback name="_iface_reserved28">
1042
- <return-value transfer-ownership="none">
1043
- <type name="none" c:type="void"/>
1044
- </return-value>
1045
- </callback>
1046
- </field>
1047
- <field name="_iface_reserved29" introspectable="0">
1048
- <callback name="_iface_reserved29">
1049
- <return-value transfer-ownership="none">
1050
- <type name="none" c:type="void"/>
1051
- </return-value>
1052
- </callback>
1053
- </field>
1054
- <field name="_iface_reserved30" introspectable="0">
1055
- <callback name="_iface_reserved30">
1056
- <return-value transfer-ownership="none">
1057
- <type name="none" c:type="void"/>
1058
- </return-value>
1059
- </callback>
1060
- </field>
1061
- <field name="_iface_reserved31" introspectable="0">
1062
- <callback name="_iface_reserved31">
1063
- <return-value transfer-ownership="none">
1064
- <type name="none" c:type="void"/>
1065
- </return-value>
1066
- </callback>
1067
- </field>
1068
- <field name="_iface_reserved32" introspectable="0">
1069
- <callback name="_iface_reserved32">
1070
- <return-value transfer-ownership="none">
1071
- <type name="none" c:type="void"/>
1072
- </return-value>
1073
- </callback>
1074
- </field>
1075
- <field name="_iface_reserved33" introspectable="0">
1076
- <callback name="_iface_reserved33">
1077
- <return-value transfer-ownership="none">
1078
- <type name="none" c:type="void"/>
1079
- </return-value>
1080
- </callback>
1081
- </field>
1082
- <field name="_iface_reserved34" introspectable="0">
1083
- <callback name="_iface_reserved34">
1084
- <return-value transfer-ownership="none">
1085
- <type name="none" c:type="void"/>
1086
- </return-value>
1087
- </callback>
1088
- </field>
1089
- <field name="_iface_reserved35" introspectable="0">
1090
- <callback name="_iface_reserved35">
1091
- <return-value transfer-ownership="none">
1092
- <type name="none" c:type="void"/>
1093
- </return-value>
1094
- </callback>
1095
- </field>
1096
- <field name="download_buffering">
1097
- <callback name="download_buffering">
1098
- <return-value transfer-ownership="none">
1099
- <type name="none" c:type="void"/>
1100
- </return-value>
1101
- <parameters>
1102
- <parameter name="player" transfer-ownership="none">
1103
- <type name="Player" c:type="ClutterGstPlayer*"/>
1104
- </parameter>
1105
- <parameter name="start" transfer-ownership="none">
1106
- <type name="gdouble" c:type="gdouble"/>
1107
- </parameter>
1108
- <parameter name="stop" transfer-ownership="none">
1109
- <type name="gdouble" c:type="gdouble"/>
1110
- </parameter>
1111
- </parameters>
1112
- </callback>
1113
- </field>
1114
- <field name="_clutter_reserved2" introspectable="0">
1115
- <callback name="_clutter_reserved2">
1116
- <return-value transfer-ownership="none">
1117
- <type name="none" c:type="void"/>
1118
- </return-value>
1119
- </callback>
1120
- </field>
1121
- <field name="_clutter_reserved3" introspectable="0">
1122
- <callback name="_clutter_reserved3">
1123
- <return-value transfer-ownership="none">
1124
- <type name="none" c:type="void"/>
1125
- </return-value>
1126
- </callback>
1127
- </field>
1128
- <field name="_clutter_reserved4" introspectable="0">
1129
- <callback name="_clutter_reserved4">
1130
- <return-value transfer-ownership="none">
1131
- <type name="none" c:type="void"/>
1132
- </return-value>
1133
- </callback>
1134
- </field>
1135
- <field name="_clutter_reserved5" introspectable="0">
1136
- <callback name="_clutter_reserved5">
1137
- <return-value transfer-ownership="none">
1138
- <type name="none" c:type="void"/>
1139
- </return-value>
1140
- </callback>
1141
- </field>
1142
- <field name="_clutter_reserved6" introspectable="0">
1143
- <callback name="_clutter_reserved6">
1144
- <return-value transfer-ownership="none">
1145
- <type name="none" c:type="void"/>
1146
- </return-value>
1147
- </callback>
1148
- </field>
1149
- <field name="_clutter_reserved7" introspectable="0">
1150
- <callback name="_clutter_reserved7">
1151
- <return-value transfer-ownership="none">
1152
- <type name="none" c:type="void"/>
1153
- </return-value>
1154
- </callback>
1155
- </field>
1156
- <field name="_clutter_reserved8" introspectable="0">
1157
- <callback name="_clutter_reserved8">
1158
- <return-value transfer-ownership="none">
1159
- <type name="none" c:type="void"/>
1160
- </return-value>
1161
- </callback>
1162
- </field>
1163
- <field name="_clutter_reserved9" introspectable="0">
1164
- <callback name="_clutter_reserved9">
1165
- <return-value transfer-ownership="none">
1166
- <type name="none" c:type="void"/>
1167
- </return-value>
1168
- </callback>
1169
- </field>
1170
- <field name="_clutter_reserved10" introspectable="0">
1171
- <callback name="_clutter_reserved10">
1172
- <return-value transfer-ownership="none">
1173
- <type name="none" c:type="void"/>
1174
- </return-value>
1175
- </callback>
1176
- </field>
1177
- </record>
1178
- <record name="PlayerIfacePrivate"
1179
- c:type="ClutterGstPlayerIfacePrivate"
1180
- disguised="1">
1181
- </record>
1182
- <bitfield name="SeekFlags"
1183
- version="1.4"
1184
- glib:type-name="ClutterGstSeekFlags"
1185
- glib:get-type="clutter_gst_seek_flags_get_type"
1186
- c:type="ClutterGstSeekFlags">
1187
- <doc xml:space="preserve">Flags that can be given to clutter_gst_video_texture_set_seek_flags().</doc>
1188
- <member name="none"
1189
- value="0"
1190
- c:identifier="CLUTTER_GST_SEEK_FLAG_NONE"
1191
- glib:nick="none">
1192
- <doc xml:space="preserve">Fast seeks (key frame boundaries, default)</doc>
1193
- </member>
1194
- <member name="accurate"
1195
- value="1"
1196
- c:identifier="CLUTTER_GST_SEEK_FLAG_ACCURATE"
1197
- glib:nick="accurate">
1198
- <doc xml:space="preserve">Accurate seeks (potentially slower)</doc>
1199
- </member>
1200
- </bitfield>
1201
- <constant name="VERSION_HEX" value="0" c:type="CLUTTER_GST_VERSION_HEX">
1202
- <doc xml:space="preserve">ClutterGst full version, encoded as an hexadecimal value.</doc>
1203
- <type name="gint" c:type="gint"/>
1204
- </constant>
1205
- <constant name="VERSION_S" value="2.0.12" c:type="CLUTTER_GST_VERSION_S">
1206
- <doc xml:space="preserve">ClutterGst full version, encoded as a string.</doc>
1207
- <type name="utf8" c:type="gchar*"/>
1208
- </constant>
1209
- <class name="VideoSink"
1210
- c:symbol-prefix="video_sink"
1211
- c:type="ClutterGstVideoSink"
1212
- parent="GstBase.BaseSink"
1213
- glib:type-name="ClutterGstVideoSink"
1214
- glib:get-type="clutter_gst_video_sink_get_type"
1215
- glib:type-struct="VideoSinkClass">
1216
- <doc xml:space="preserve">Class implementing a GStreamer sink element for #ClutterTexture&lt;!-- --&gt;s.
1217
-
1218
- The #ClutterGstVideoSink structure contains only private data and should
1219
- not be accessed directly.</doc>
1220
- <implements name="GstVideo.Navigation"/>
1221
- <constructor name="new"
1222
- c:identifier="clutter_gst_video_sink_new"
1223
- deprecated="1"
1224
- deprecated-version="1.6">
1225
- <doc xml:space="preserve">Creates a new GStreamer video sink which uses @texture as the target
1226
- for sinking a video stream from GStreamer.
1227
-
1228
- &lt;note&gt;This function has to be called from Clutter's main thread. While
1229
- GStreamer will spawn threads to do its work, we want all the GL calls to
1230
- happen in the same thread. Clutter-gst knows which thread it is by
1231
- assuming this constructor is called from the Clutter thread.&lt;/note&gt;</doc>
1232
- <doc-deprecated xml:space="preserve">Use gst_element_factory_make ("cluttersink", ...) and the
1233
- "texture" GObject property instead.</doc-deprecated>
1234
- <return-value transfer-ownership="none">
1235
- <doc xml:space="preserve">a #GstElement for the newly created video sink</doc>
1236
- <type name="Gst.Element" c:type="GstElement*"/>
1237
- </return-value>
1238
- <parameters>
1239
- <parameter name="texture" transfer-ownership="none">
1240
- <doc xml:space="preserve">a #ClutterTexture</doc>
1241
- <type name="Clutter.Texture" c:type="ClutterTexture*"/>
1242
- </parameter>
1243
- </parameters>
1244
- </constructor>
1245
- <property name="texture" writable="1" transfer-ownership="none">
1246
- <doc xml:space="preserve">This is the texture the video is decoded into. It can be any
1247
- #ClutterTexture, however Cluter-Gst has a handy subclass,
1248
- #ClutterGstVideoTexture, that implements the #ClutterMedia
1249
- interface.</doc>
1250
- <type name="Clutter.Texture"/>
1251
- </property>
1252
- <property name="update-priority" writable="1" transfer-ownership="none">
1253
- <doc xml:space="preserve">Clutter-Gst installs a #GSource to signal that a new frame is ready to
1254
- the Clutter thread. This property allows to tweak the priority of the
1255
- source (Lower value is higher priority).
1256
-
1257
- Since 1.0</doc>
1258
- <type name="gint" c:type="gint"/>
1259
- </property>
1260
- <field name="parent" readable="0" private="1">
1261
- <type name="GstBase.BaseSink" c:type="GstBaseSink"/>
1262
- </field>
1263
- <field name="priv" readable="0" private="1">
1264
- <type name="VideoSinkPrivate" c:type="ClutterGstVideoSinkPrivate*"/>
1265
- </field>
1266
- </class>
1267
- <record name="VideoSinkClass"
1268
- c:type="ClutterGstVideoSinkClass"
1269
- glib:is-gtype-struct-for="VideoSink">
1270
- <doc xml:space="preserve">Base class for #ClutterGstVideoSink.</doc>
1271
- <field name="parent_class" readable="0" private="1">
1272
- <type name="GstBase.BaseSinkClass" c:type="GstBaseSinkClass"/>
1273
- </field>
1274
- <field name="_clutter_reserved1" introspectable="0">
1275
- <callback name="_clutter_reserved1">
1276
- <return-value transfer-ownership="none">
1277
- <type name="none" c:type="void"/>
1278
- </return-value>
1279
- </callback>
1280
- </field>
1281
- <field name="_clutter_reserved2" introspectable="0">
1282
- <callback name="_clutter_reserved2">
1283
- <return-value transfer-ownership="none">
1284
- <type name="none" c:type="void"/>
1285
- </return-value>
1286
- </callback>
1287
- </field>
1288
- <field name="_clutter_reserved3" introspectable="0">
1289
- <callback name="_clutter_reserved3">
1290
- <return-value transfer-ownership="none">
1291
- <type name="none" c:type="void"/>
1292
- </return-value>
1293
- </callback>
1294
- </field>
1295
- <field name="_clutter_reserved4" introspectable="0">
1296
- <callback name="_clutter_reserved4">
1297
- <return-value transfer-ownership="none">
1298
- <type name="none" c:type="void"/>
1299
- </return-value>
1300
- </callback>
1301
- </field>
1302
- <field name="_clutter_reserved5" introspectable="0">
1303
- <callback name="_clutter_reserved5">
1304
- <return-value transfer-ownership="none">
1305
- <type name="none" c:type="void"/>
1306
- </return-value>
1307
- </callback>
1308
- </field>
1309
- <field name="_clutter_reserved6" introspectable="0">
1310
- <callback name="_clutter_reserved6">
1311
- <return-value transfer-ownership="none">
1312
- <type name="none" c:type="void"/>
1313
- </return-value>
1314
- </callback>
1315
- </field>
1316
- </record>
1317
- <record name="VideoSinkPrivate"
1318
- c:type="ClutterGstVideoSinkPrivate"
1319
- disguised="1">
1320
- </record>
1321
- <class name="VideoTexture"
1322
- c:symbol-prefix="video_texture"
1323
- c:type="ClutterGstVideoTexture"
1324
- parent="Clutter.Texture"
1325
- glib:type-name="ClutterGstVideoTexture"
1326
- glib:get-type="clutter_gst_video_texture_get_type"
1327
- glib:type-struct="VideoTextureClass">
1328
- <doc xml:space="preserve">Subclass of #ClutterTexture that displays videos using GStreamer.
1329
-
1330
- The #ClutterGstVideoTexture structure contains only private data and
1331
- should not be accessed directly.</doc>
1332
- <implements name="Atk.ImplementorIface"/>
1333
- <implements name="Clutter.Animatable"/>
1334
- <implements name="Clutter.Container"/>
1335
- <implements name="Clutter.Media"/>
1336
- <implements name="Clutter.Scriptable"/>
1337
- <implements name="Player"/>
1338
- <constructor name="new" c:identifier="clutter_gst_video_texture_new">
1339
- <doc xml:space="preserve">Creates a video texture.
1340
-
1341
- &lt;note&gt;This function has to be called from Clutter's main thread. While
1342
- GStreamer will spawn threads to do its work, we want all the GL calls to
1343
- happen in the same thread. Clutter-gst knows which thread it is by
1344
- assuming this constructor is called from the Clutter thread.&lt;/note&gt;</doc>
1345
- <return-value transfer-ownership="none">
1346
- <doc xml:space="preserve">the newly created video texture actor</doc>
1347
- <type name="Clutter.Actor" c:type="ClutterActor*"/>
1348
- </return-value>
1349
- </constructor>
1350
- <method name="get_audio_stream"
1351
- c:identifier="clutter_gst_video_texture_get_audio_stream"
1352
- version="1.4">
1353
- <doc xml:space="preserve">Get the current audio stream. The number returned in the index of the
1354
- audio stream playing in the list returned by
1355
- clutter_gst_video_texture_get_audio_streams().</doc>
1356
- <return-value transfer-ownership="none">
1357
- <doc xml:space="preserve">the index of the current audio stream, -1 if the media has no
1358
- audio stream</doc>
1359
- <type name="gint" c:type="gint"/>
1360
- </return-value>
1361
- <parameters>
1362
- <instance-parameter name="texture" transfer-ownership="none">
1363
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1364
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1365
- </instance-parameter>
1366
- </parameters>
1367
- </method>
1368
- <method name="get_audio_streams"
1369
- c:identifier="clutter_gst_video_texture_get_audio_streams"
1370
- version="1.4">
1371
- <doc xml:space="preserve">Get the list of audio streams of the current media.</doc>
1372
- <return-value transfer-ownership="none">
1373
- <doc xml:space="preserve">a list of
1374
- #GstTagList describing the available audio streams</doc>
1375
- <type name="GLib.List" c:type="GList*">
1376
- <type name="Gst.TagList"/>
1377
- </type>
1378
- </return-value>
1379
- <parameters>
1380
- <instance-parameter name="texture" transfer-ownership="none">
1381
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1382
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1383
- </instance-parameter>
1384
- </parameters>
1385
- </method>
1386
- <method name="get_buffering_mode"
1387
- c:identifier="clutter_gst_video_texture_get_buffering_mode"
1388
- version="1.4">
1389
- <return-value transfer-ownership="none">
1390
- <doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
1391
- <type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
1392
- </return-value>
1393
- <parameters>
1394
- <instance-parameter name="texture" transfer-ownership="none">
1395
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1396
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1397
- </instance-parameter>
1398
- </parameters>
1399
- </method>
1400
- <method name="get_idle_material"
1401
- c:identifier="clutter_gst_video_texture_get_idle_material"
1402
- version="1.2">
1403
- <doc xml:space="preserve">Retrieves the material used to draw when no media is being played.</doc>
1404
- <return-value transfer-ownership="none">
1405
- <doc xml:space="preserve">the #CoglHandle of the idle material</doc>
1406
- <type name="Cogl.Handle" c:type="CoglHandle"/>
1407
- </return-value>
1408
- <parameters>
1409
- <instance-parameter name="texture" transfer-ownership="none">
1410
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1411
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1412
- </instance-parameter>
1413
- </parameters>
1414
- </method>
1415
- <method name="get_pipeline"
1416
- c:identifier="clutter_gst_video_texture_get_pipeline">
1417
- <doc xml:space="preserve">Retrieves the #GstPipeline used by the @texture, for direct use with
1418
- GStreamer API.</doc>
1419
- <return-value transfer-ownership="none">
1420
- <doc xml:space="preserve">the pipeline element used by the video texture</doc>
1421
- <type name="Gst.Element" c:type="GstElement*"/>
1422
- </return-value>
1423
- <parameters>
1424
- <instance-parameter name="texture" transfer-ownership="none">
1425
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1426
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1427
- </instance-parameter>
1428
- </parameters>
1429
- </method>
1430
- <method name="get_seek_flags"
1431
- c:identifier="clutter_gst_video_texture_get_seek_flags"
1432
- version="1.4">
1433
- <doc xml:space="preserve">Get the current value of the seek-flags property.</doc>
1434
- <return-value transfer-ownership="none">
1435
- <doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
1436
- <type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
1437
- </return-value>
1438
- <parameters>
1439
- <instance-parameter name="texture" transfer-ownership="none">
1440
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1441
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1442
- </instance-parameter>
1443
- </parameters>
1444
- </method>
1445
- <method name="get_subtitle_track"
1446
- c:identifier="clutter_gst_video_texture_get_subtitle_track"
1447
- version="1.4">
1448
- <doc xml:space="preserve">Get the current subtitles track. The number returned is the index of the
1449
- subitles track in the list returned by
1450
- clutter_gst_video_texture_get_subtitle_tracks().</doc>
1451
- <return-value transfer-ownership="none">
1452
- <doc xml:space="preserve">the index of the current subtitlest track, -1 if the media has
1453
- no subtitles track or if the subtitles have been turned off</doc>
1454
- <type name="gint" c:type="gint"/>
1455
- </return-value>
1456
- <parameters>
1457
- <instance-parameter name="texture" transfer-ownership="none">
1458
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1459
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1460
- </instance-parameter>
1461
- </parameters>
1462
- </method>
1463
- <method name="get_subtitle_tracks"
1464
- c:identifier="clutter_gst_video_texture_get_subtitle_tracks"
1465
- version="1.4">
1466
- <doc xml:space="preserve">Get the list of subtitles tracks of the current media.</doc>
1467
- <return-value transfer-ownership="none">
1468
- <doc xml:space="preserve">a list
1469
- of #GstTagList describing the available subtitles tracks</doc>
1470
- <type name="GLib.List" c:type="GList*">
1471
- <type name="Gst.TagList"/>
1472
- </type>
1473
- </return-value>
1474
- <parameters>
1475
- <instance-parameter name="texture" transfer-ownership="none">
1476
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1477
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1478
- </instance-parameter>
1479
- </parameters>
1480
- </method>
1481
- <method name="get_user_agent"
1482
- c:identifier="clutter_gst_video_texture_get_user_agent"
1483
- version="1.2">
1484
- <doc xml:space="preserve">Retrieves the user agent used when streaming.</doc>
1485
- <return-value transfer-ownership="full">
1486
- <doc xml:space="preserve">the user agent used. The returned string has to be freed with
1487
- g_free()</doc>
1488
- <type name="utf8" c:type="gchar*"/>
1489
- </return-value>
1490
- <parameters>
1491
- <instance-parameter name="texture" transfer-ownership="none">
1492
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1493
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1494
- </instance-parameter>
1495
- </parameters>
1496
- </method>
1497
- <method name="set_audio_stream"
1498
- c:identifier="clutter_gst_video_texture_set_audio_stream"
1499
- version="1.4">
1500
- <doc xml:space="preserve">Set the audio stream to play. @index_ is the index of the stream
1501
- in the list returned by clutter_gst_video_texture_get_audio_streams().</doc>
1502
- <return-value transfer-ownership="none">
1503
- <type name="none" c:type="void"/>
1504
- </return-value>
1505
- <parameters>
1506
- <instance-parameter name="texture" transfer-ownership="none">
1507
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1508
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1509
- </instance-parameter>
1510
- <parameter name="index_" transfer-ownership="none">
1511
- <doc xml:space="preserve">the index of the audio stream</doc>
1512
- <type name="gint" c:type="gint"/>
1513
- </parameter>
1514
- </parameters>
1515
- </method>
1516
- <method name="set_buffering_mode"
1517
- c:identifier="clutter_gst_video_texture_set_buffering_mode"
1518
- version="1.4">
1519
- <return-value transfer-ownership="none">
1520
- <type name="none" c:type="void"/>
1521
- </return-value>
1522
- <parameters>
1523
- <instance-parameter name="texture" transfer-ownership="none">
1524
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1525
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1526
- </instance-parameter>
1527
- <parameter name="mode" transfer-ownership="none">
1528
- <doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
1529
- <type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
1530
- </parameter>
1531
- </parameters>
1532
- </method>
1533
- <method name="set_idle_material"
1534
- c:identifier="clutter_gst_video_texture_set_idle_material"
1535
- version="1.2">
1536
- <doc xml:space="preserve">Sets a material to use to draw when no media is being played. The
1537
- #ClutterGstVideoTexture holds a reference of the @material.
1538
-
1539
- The default idle material will paint the #ClutterGstVideoTexture in black.
1540
- If %COGL_INVALID_HANDLE is given as @material to this function, this
1541
- default idle material will be used.</doc>
1542
- <return-value transfer-ownership="none">
1543
- <type name="none" c:type="void"/>
1544
- </return-value>
1545
- <parameters>
1546
- <instance-parameter name="texture" transfer-ownership="none">
1547
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1548
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1549
- </instance-parameter>
1550
- <parameter name="material" transfer-ownership="none">
1551
- <doc xml:space="preserve">the handle of a Cogl material</doc>
1552
- <type name="Cogl.Handle" c:type="CoglHandle"/>
1553
- </parameter>
1554
- </parameters>
1555
- </method>
1556
- <method name="set_seek_flags"
1557
- c:identifier="clutter_gst_video_texture_set_seek_flags"
1558
- version="1.4">
1559
- <doc xml:space="preserve">Seeking can be done with several trade-offs. Clutter-gst defaults
1560
- to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
1561
- <return-value transfer-ownership="none">
1562
- <type name="none" c:type="void"/>
1563
- </return-value>
1564
- <parameters>
1565
- <instance-parameter name="texture" transfer-ownership="none">
1566
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1567
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1568
- </instance-parameter>
1569
- <parameter name="flags" transfer-ownership="none">
1570
- <doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
1571
- <type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
1572
- </parameter>
1573
- </parameters>
1574
- </method>
1575
- <method name="set_subtitle_track"
1576
- c:identifier="clutter_gst_video_texture_set_subtitle_track"
1577
- version="1.4">
1578
- <doc xml:space="preserve">Set the subtitles track to play. @index_ is the index of the stream
1579
- in the list returned by clutter_gst_video_texture_get_subtitle_tracks().
1580
-
1581
- If @index_ is -1, the subtitles are turned off.</doc>
1582
- <return-value transfer-ownership="none">
1583
- <type name="none" c:type="void"/>
1584
- </return-value>
1585
- <parameters>
1586
- <instance-parameter name="texture" transfer-ownership="none">
1587
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1588
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1589
- </instance-parameter>
1590
- <parameter name="index_" transfer-ownership="none">
1591
- <doc xml:space="preserve">the index of the subtitles track</doc>
1592
- <type name="gint" c:type="gint"/>
1593
- </parameter>
1594
- </parameters>
1595
- </method>
1596
- <method name="set_user_agent"
1597
- c:identifier="clutter_gst_video_texture_set_user_agent"
1598
- version="1.2">
1599
- <doc xml:space="preserve">Sets the user agent to use when streaming.
1600
-
1601
- When streaming content, you might want to set a custom user agent, eg. to
1602
- promote your software, make it appear in statistics or because the server
1603
- requires a special user agent you want to impersonate.</doc>
1604
- <return-value transfer-ownership="none">
1605
- <type name="none" c:type="void"/>
1606
- </return-value>
1607
- <parameters>
1608
- <instance-parameter name="texture" transfer-ownership="none">
1609
- <doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
1610
- <type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
1611
- </instance-parameter>
1612
- <parameter name="user_agent" transfer-ownership="none">
1613
- <doc xml:space="preserve">the user agent</doc>
1614
- <type name="utf8" c:type="const gchar*"/>
1615
- </parameter>
1616
- </parameters>
1617
- </method>
1618
- <property name="idle-material"
1619
- introspectable="0"
1620
- writable="1"
1621
- transfer-ownership="none">
1622
- <type/>
1623
- </property>
1624
- <property name="pixel-aspect-ratio"
1625
- writable="1"
1626
- transfer-ownership="none">
1627
- <type name="Gst.Fraction"/>
1628
- </property>
1629
- <field name="parent" readable="0" private="1">
1630
- <type name="Clutter.Texture" c:type="ClutterTexture"/>
1631
- </field>
1632
- <field name="priv" readable="0" private="1">
1633
- <type name="VideoTexturePrivate"
1634
- c:type="ClutterGstVideoTexturePrivate*"/>
1635
- </field>
1636
- </class>
1637
- <record name="VideoTextureClass"
1638
- c:type="ClutterGstVideoTextureClass"
1639
- glib:is-gtype-struct-for="VideoTexture">
1640
- <doc xml:space="preserve">Base class for #ClutterGstVideoTexture.</doc>
1641
- <field name="parent_class" readable="0" private="1">
1642
- <type name="Clutter.TextureClass" c:type="ClutterTextureClass"/>
1643
- </field>
1644
- <field name="_clutter_reserved1" introspectable="0">
1645
- <callback name="_clutter_reserved1">
1646
- <return-value transfer-ownership="none">
1647
- <type name="none" c:type="void"/>
1648
- </return-value>
1649
- </callback>
1650
- </field>
1651
- <field name="_clutter_reserved2" introspectable="0">
1652
- <callback name="_clutter_reserved2">
1653
- <return-value transfer-ownership="none">
1654
- <type name="none" c:type="void"/>
1655
- </return-value>
1656
- </callback>
1657
- </field>
1658
- <field name="_clutter_reserved3" introspectable="0">
1659
- <callback name="_clutter_reserved3">
1660
- <return-value transfer-ownership="none">
1661
- <type name="none" c:type="void"/>
1662
- </return-value>
1663
- </callback>
1664
- </field>
1665
- <field name="_clutter_reserved4" introspectable="0">
1666
- <callback name="_clutter_reserved4">
1667
- <return-value transfer-ownership="none">
1668
- <type name="none" c:type="void"/>
1669
- </return-value>
1670
- </callback>
1671
- </field>
1672
- <field name="_clutter_reserved5" introspectable="0">
1673
- <callback name="_clutter_reserved5">
1674
- <return-value transfer-ownership="none">
1675
- <type name="none" c:type="void"/>
1676
- </return-value>
1677
- </callback>
1678
- </field>
1679
- <field name="_clutter_reserved6" introspectable="0">
1680
- <callback name="_clutter_reserved6">
1681
- <return-value transfer-ownership="none">
1682
- <type name="none" c:type="void"/>
1683
- </return-value>
1684
- </callback>
1685
- </field>
1686
- </record>
1687
- <record name="VideoTexturePrivate"
1688
- c:type="ClutterGstVideoTexturePrivate"
1689
- disguised="1">
1690
- </record>
1691
- <function name="init" c:identifier="clutter_gst_init">
1692
- <doc xml:space="preserve">Utility function to initialize both Clutter and GStreamer.
1693
-
1694
- This function should be called before calling any other GLib functions. If
1695
- this is not an option, your program must initialise the GLib thread system
1696
- using g_thread_init() before any other GLib functions are called.</doc>
1697
- <return-value transfer-ownership="none">
1698
- <doc xml:space="preserve">A #ClutterInitError.</doc>
1699
- <type name="Clutter.InitError" c:type="ClutterInitError"/>
1700
- </return-value>
1701
- <parameters>
1702
- <parameter name="argc"
1703
- direction="inout"
1704
- caller-allocates="0"
1705
- transfer-ownership="full">
1706
- <doc xml:space="preserve">The number of arguments in @argv</doc>
1707
- <type name="gint" c:type="int*"/>
1708
- </parameter>
1709
- <parameter name="argv"
1710
- direction="inout"
1711
- caller-allocates="0"
1712
- transfer-ownership="full"
1713
- nullable="1"
1714
- allow-none="1">
1715
- <doc xml:space="preserve">A pointer to an array</doc>
1716
- <array length="0" zero-terminated="0" c:type="char***">
1717
- <type name="utf8" c:type="char**"/>
1718
- </array>
1719
- </parameter>
1720
- </parameters>
1721
- </function>
1722
- <function name="init_with_args"
1723
- c:identifier="clutter_gst_init_with_args"
1724
- version="1.0"
1725
- throws="1">
1726
- <doc xml:space="preserve">This function does the same work as clutter_gst_init(). Additionally, it
1727
- allows you to add your own command line options, and it automatically
1728
- generates nicely formatted --help output. Clutter's and GStreamer's
1729
- #GOptionGroup&lt;!-- --&gt;s are added to the set of available options.
1730
-
1731
- Your program must initialise the GLib thread system using g_thread_init()
1732
- before any other GLib functions are called.</doc>
1733
- <return-value transfer-ownership="none">
1734
- <doc xml:space="preserve">%CLUTTER_INIT_SUCCESS on success, a negative integer
1735
- on failure.</doc>
1736
- <type name="Clutter.InitError" c:type="ClutterInitError"/>
1737
- </return-value>
1738
- <parameters>
1739
- <parameter name="argc"
1740
- direction="inout"
1741
- caller-allocates="0"
1742
- transfer-ownership="full">
1743
- <doc xml:space="preserve">The number of arguments in @argv</doc>
1744
- <type name="gint" c:type="int*"/>
1745
- </parameter>
1746
- <parameter name="argv"
1747
- direction="inout"
1748
- caller-allocates="0"
1749
- transfer-ownership="full"
1750
- nullable="1"
1751
- allow-none="1">
1752
- <doc xml:space="preserve">A pointer to an array</doc>
1753
- <array length="0" zero-terminated="0" c:type="char***">
1754
- <type name="utf8" c:type="char**"/>
1755
- </array>
1756
- </parameter>
1757
- <parameter name="parameter_string" transfer-ownership="none">
1758
- <doc xml:space="preserve">a string which is displayed in
1759
- the first line of &lt;option&gt;--help&lt;/option&gt; output, after
1760
- &lt;literal&gt;&lt;replaceable&gt;programname&lt;/replaceable&gt; [OPTION...]&lt;/literal&gt;</doc>
1761
- <type name="utf8" c:type="const char*"/>
1762
- </parameter>
1763
- <parameter name="entries" transfer-ownership="none">
1764
- <doc xml:space="preserve">a %NULL-terminated array of #GOptionEntry&lt;!-- --&gt;s
1765
- describing the options of your program</doc>
1766
- <type name="GLib.OptionEntry" c:type="GOptionEntry*"/>
1767
- </parameter>
1768
- <parameter name="translation_domain" transfer-ownership="none">
1769
- <doc xml:space="preserve">a translation domain to use for translating
1770
- the &lt;option&gt;--help&lt;/option&gt; output for the options in @entries
1771
- with gettext(), or %NULL</doc>
1772
- <type name="utf8" c:type="const char*"/>
1773
- </parameter>
1774
- </parameters>
1775
- </function>
1776
- <function name="player_class_init"
1777
- c:identifier="clutter_gst_player_class_init"
1778
- moved-to="Player.class_init"
1779
- version="1.4">
1780
- <doc xml:space="preserve">Adds the #ClutterGstPlayer properties to a class and surchages the
1781
- set/get_property of #GObjectClass. You should call this
1782
- function at the end of the class_init method of the class
1783
- implementing #ClutterGstPlayer.</doc>
1784
- <return-value transfer-ownership="none">
1785
- <type name="none" c:type="void"/>
1786
- </return-value>
1787
- <parameters>
1788
- <parameter name="object_class" transfer-ownership="none">
1789
- <doc xml:space="preserve">a #GObjectClass</doc>
1790
- <type name="GObject.ObjectClass" c:type="GObjectClass*"/>
1791
- </parameter>
1792
- </parameters>
1793
- </function>
1794
- </namespace>
1795
- </repository>