clutter-gstreamer 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +2 -1
- data/lib/clutter-gst.rb +1 -1
- data/sample/media-actions-pause.png +0 -0
- data/sample/media-actions-start.png +0 -0
- data/sample/vid-panel.png +0 -0
- data/sample/video-player.rb +383 -0
- data/sample/video-sink-navigation.rb +99 -0
- data/sample/video-sink.rb +88 -0
- data/test/run-test.rb +10 -2
- data/test/test-clutter-gst.rb +23 -0
- data/vendor/local/bin/libclutter-gst-2.0-0.dll +0 -0
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-version.h +3 -3
- data/vendor/local/lib/girepository-1.0/ClutterGst-2.0.typelib +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter.dll +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter.dll.a +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter.la +2 -2
- data/vendor/local/lib/libclutter-gst-2.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-gst-2.0.la +4 -4
- data/vendor/local/lib/pkgconfig/clutter-gst-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/ClutterGst-2.0.gir +182 -191
- data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstPlayer.html +137 -83
- data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoSink.html +26 -26
- data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoTexture.html +99 -54
- data/vendor/local/share/gtk-doc/html/clutter-gst/ch01.html +16 -16
- data/vendor/local/share/gtk-doc/html/clutter-gst/ch02.html +16 -16
- data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Utilities.html +39 -36
- data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Versioning-Macros.html +23 -23
- data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/clutter-gst/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/index.html +10 -9
- data/vendor/local/share/gtk-doc/html/clutter-gst/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/license.html +15 -15
- data/vendor/local/share/gtk-doc/html/clutter-gst/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/clutter-gst/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/up.png +0 -0
- metadata +24 -22
@@ -24,36 +24,36 @@ and/or use gtk-doc annotations. -->
|
|
24
24
|
glib:type-name="ClutterGstBufferingMode"
|
25
25
|
glib:get-type="clutter_gst_buffering_mode_get_type"
|
26
26
|
c:type="ClutterGstBufferingMode">
|
27
|
-
<doc xml:
|
27
|
+
<doc xml:space="preserve">Different buffering policies clutter-gst supports</doc>
|
28
28
|
<member name="stream"
|
29
29
|
value="0"
|
30
30
|
c:identifier="CLUTTER_GST_BUFFERING_MODE_STREAM"
|
31
31
|
glib:nick="stream">
|
32
|
-
<doc xml:
|
32
|
+
<doc xml:space="preserve">In-memory buffering</doc>
|
33
33
|
</member>
|
34
34
|
<member name="download"
|
35
35
|
value="1"
|
36
36
|
c:identifier="CLUTTER_GST_BUFFERING_MODE_DOWNLOAD"
|
37
37
|
glib:nick="download">
|
38
|
-
<doc xml:
|
38
|
+
<doc xml:space="preserve">On-disk buffering</doc>
|
39
39
|
</member>
|
40
40
|
</enumeration>
|
41
41
|
<constant name="MAJOR_VERSION"
|
42
42
|
value="2"
|
43
43
|
c:type="CLUTTER_GST_MAJOR_VERSION">
|
44
|
-
<doc xml:
|
44
|
+
<doc xml:space="preserve">ClutterGst major version (e.g. "1", if %CLUTTER_GST_VERSION is "1.2.3")</doc>
|
45
45
|
<type name="gint" c:type="gint"/>
|
46
46
|
</constant>
|
47
47
|
<constant name="MICRO_VERSION"
|
48
|
-
value="
|
48
|
+
value="8"
|
49
49
|
c:type="CLUTTER_GST_MICRO_VERSION">
|
50
|
-
<doc xml:
|
50
|
+
<doc xml:space="preserve">ClutterGst micro version (e.g. "3", if %CLUTTER_GST_VERSION is "1.2.3")</doc>
|
51
51
|
<type name="gint" c:type="gint"/>
|
52
52
|
</constant>
|
53
53
|
<constant name="MINOR_VERSION"
|
54
54
|
value="0"
|
55
55
|
c:type="CLUTTER_GST_MINOR_VERSION">
|
56
|
-
<doc xml:
|
56
|
+
<doc xml:space="preserve">ClutterGst minor version (e.g. "2", if %CLUTTER_GST_VERSION is "1.2.3")</doc>
|
57
57
|
<type name="gint" c:type="gint"/>
|
58
58
|
</constant>
|
59
59
|
<interface name="Player"
|
@@ -63,13 +63,13 @@ and/or use gtk-doc annotations. -->
|
|
63
63
|
glib:type-name="ClutterGstPlayer"
|
64
64
|
glib:get-type="clutter_gst_player_get_type"
|
65
65
|
glib:type-struct="PlayerIface">
|
66
|
-
<doc xml:
|
66
|
+
<doc xml:space="preserve">#ClutterGstPlayer is an opaque structure whose members cannot be
|
67
67
|
directly accessed</doc>
|
68
68
|
<prerequisite name="Clutter.Media"/>
|
69
69
|
<function name="class_init"
|
70
70
|
c:identifier="clutter_gst_player_class_init"
|
71
71
|
version="1.4">
|
72
|
-
<doc xml:
|
72
|
+
<doc xml:space="preserve">Adds the #ClutterGstPlayer properties to a class and surchages the
|
73
73
|
set/get_property of #GObjectClass. You should call this
|
74
74
|
function at the end of the class_init method of the class
|
75
75
|
implementing #ClutterGstPlayer.</doc>
|
@@ -78,7 +78,7 @@ implementing #ClutterGstPlayer.</doc>
|
|
78
78
|
</return-value>
|
79
79
|
<parameters>
|
80
80
|
<parameter name="object_class" transfer-ownership="none">
|
81
|
-
<doc xml:
|
81
|
+
<doc xml:space="preserve">a #GObjectClass</doc>
|
82
82
|
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
|
83
83
|
</parameter>
|
84
84
|
</parameters>
|
@@ -102,11 +102,11 @@ implementing #ClutterGstPlayer.</doc>
|
|
102
102
|
<virtual-method name="get_audio_stream"
|
103
103
|
invoker="get_audio_stream"
|
104
104
|
version="1.4">
|
105
|
-
<doc xml:
|
105
|
+
<doc xml:space="preserve">Get the current audio stream. The number returned in the index of the
|
106
106
|
audio stream playing in the list returned by
|
107
107
|
clutter_gst_player_get_audio_streams().</doc>
|
108
108
|
<return-value transfer-ownership="none">
|
109
|
-
<doc xml:
|
109
|
+
<doc xml:space="preserve">the index of the current audio stream, -1 if the media has no audio stream</doc>
|
110
110
|
<type name="gint" c:type="gint"/>
|
111
111
|
</return-value>
|
112
112
|
<parameters>
|
@@ -118,9 +118,9 @@ clutter_gst_player_get_audio_streams().</doc>
|
|
118
118
|
<virtual-method name="get_audio_streams"
|
119
119
|
invoker="get_audio_streams"
|
120
120
|
version="1.4">
|
121
|
-
<doc xml:
|
121
|
+
<doc xml:space="preserve">Get the list of audio streams of the current media.</doc>
|
122
122
|
<return-value transfer-ownership="none">
|
123
|
-
<doc xml:
|
123
|
+
<doc xml:space="preserve">a list of strings describing the available audio streams</doc>
|
124
124
|
<type name="GLib.List" c:type="GList*">
|
125
125
|
<type name="utf8"/>
|
126
126
|
</type>
|
@@ -135,7 +135,7 @@ clutter_gst_player_get_audio_streams().</doc>
|
|
135
135
|
invoker="get_buffering_mode"
|
136
136
|
version="1.4">
|
137
137
|
<return-value transfer-ownership="none">
|
138
|
-
<doc xml:
|
138
|
+
<doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
|
139
139
|
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
140
140
|
</return-value>
|
141
141
|
<parameters>
|
@@ -145,9 +145,9 @@ clutter_gst_player_get_audio_streams().</doc>
|
|
145
145
|
</parameters>
|
146
146
|
</virtual-method>
|
147
147
|
<virtual-method name="get_idle" invoker="get_idle" version="1.4">
|
148
|
-
<doc xml:
|
148
|
+
<doc xml:space="preserve">Get the idle state of the pipeline.</doc>
|
149
149
|
<return-value transfer-ownership="none">
|
150
|
-
<doc xml:
|
150
|
+
<doc xml:space="preserve">TRUE if the pipline is in idle mode, FALSE otherwise.</doc>
|
151
151
|
<type name="gboolean" c:type="gboolean"/>
|
152
152
|
</return-value>
|
153
153
|
<parameters>
|
@@ -157,9 +157,9 @@ clutter_gst_player_get_audio_streams().</doc>
|
|
157
157
|
</parameters>
|
158
158
|
</virtual-method>
|
159
159
|
<virtual-method name="get_in_seek" invoker="get_in_seek" version="1.6">
|
160
|
-
<doc xml:
|
160
|
+
<doc xml:space="preserve">Whether the player is seeking.</doc>
|
161
161
|
<return-value transfer-ownership="none">
|
162
|
-
<doc xml:
|
162
|
+
<doc xml:space="preserve">TRUE if the player is seeking, FALSE otherwise.</doc>
|
163
163
|
<type name="gboolean" c:type="gboolean"/>
|
164
164
|
</return-value>
|
165
165
|
<parameters>
|
@@ -169,10 +169,10 @@ clutter_gst_player_get_audio_streams().</doc>
|
|
169
169
|
</parameters>
|
170
170
|
</virtual-method>
|
171
171
|
<virtual-method name="get_pipeline" invoker="get_pipeline" version="1.4">
|
172
|
-
<doc xml:
|
172
|
+
<doc xml:space="preserve">Retrieves the #GstPipeline used by the @player, for direct use with
|
173
173
|
GStreamer API.</doc>
|
174
174
|
<return-value transfer-ownership="none">
|
175
|
-
<doc xml:
|
175
|
+
<doc xml:space="preserve">the #GstPipeline element used by the player</doc>
|
176
176
|
<type name="Gst.Element" c:type="GstElement*"/>
|
177
177
|
</return-value>
|
178
178
|
<parameters>
|
@@ -184,9 +184,9 @@ GStreamer API.</doc>
|
|
184
184
|
<virtual-method name="get_seek_flags"
|
185
185
|
invoker="get_seek_flags"
|
186
186
|
version="1.4">
|
187
|
-
<doc xml:
|
187
|
+
<doc xml:space="preserve">Get the current value of the seek-flags property.</doc>
|
188
188
|
<return-value transfer-ownership="none">
|
189
|
-
<doc xml:
|
189
|
+
<doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
|
190
190
|
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
191
191
|
</return-value>
|
192
192
|
<parameters>
|
@@ -198,11 +198,11 @@ GStreamer API.</doc>
|
|
198
198
|
<virtual-method name="get_subtitle_track"
|
199
199
|
invoker="get_subtitle_track"
|
200
200
|
version="1.4">
|
201
|
-
<doc xml:
|
201
|
+
<doc xml:space="preserve">Get the current subtitles track. The number returned is the index of the
|
202
202
|
subtiles track in the list returned by
|
203
203
|
clutter_gst_player_get_subtitle_tracks().</doc>
|
204
204
|
<return-value transfer-ownership="none">
|
205
|
-
<doc xml:
|
205
|
+
<doc xml:space="preserve">the index of the current subtitlest track, -1 if the media has no subtitles track or if the subtitles have been turned off</doc>
|
206
206
|
<type name="gint" c:type="gint"/>
|
207
207
|
</return-value>
|
208
208
|
<parameters>
|
@@ -214,9 +214,9 @@ clutter_gst_player_get_subtitle_tracks().</doc>
|
|
214
214
|
<virtual-method name="get_subtitle_tracks"
|
215
215
|
invoker="get_subtitle_tracks"
|
216
216
|
version="1.4">
|
217
|
-
<doc xml:
|
217
|
+
<doc xml:space="preserve">Get the list of subtitles tracks of the current media.</doc>
|
218
218
|
<return-value transfer-ownership="none">
|
219
|
-
<doc xml:
|
219
|
+
<doc xml:space="preserve">a list of strings describing the available subtitles tracks</doc>
|
220
220
|
<type name="GLib.List" c:type="GList*">
|
221
221
|
<type name="utf8"/>
|
222
222
|
</type>
|
@@ -230,9 +230,9 @@ clutter_gst_player_get_subtitle_tracks().</doc>
|
|
230
230
|
<virtual-method name="get_user_agent"
|
231
231
|
invoker="get_user_agent"
|
232
232
|
version="1.4">
|
233
|
-
<doc xml:
|
233
|
+
<doc xml:space="preserve">Retrieves the user agent used when streaming.</doc>
|
234
234
|
<return-value transfer-ownership="full">
|
235
|
-
<doc xml:
|
235
|
+
<doc xml:space="preserve">the user agent used. The returned string has to be freed with g_free()</doc>
|
236
236
|
<type name="utf8" c:type="gchar*"/>
|
237
237
|
</return-value>
|
238
238
|
<parameters>
|
@@ -244,7 +244,7 @@ clutter_gst_player_get_subtitle_tracks().</doc>
|
|
244
244
|
<virtual-method name="set_audio_stream"
|
245
245
|
invoker="set_audio_stream"
|
246
246
|
version="1.4">
|
247
|
-
<doc xml:
|
247
|
+
<doc xml:space="preserve">Set the audio stream to play. @index_ is the index of the stream
|
248
248
|
in the list returned by clutter_gst_player_get_audio_streams().</doc>
|
249
249
|
<return-value transfer-ownership="none">
|
250
250
|
<type name="none" c:type="void"/>
|
@@ -254,7 +254,7 @@ in the list returned by clutter_gst_player_get_audio_streams().</doc>
|
|
254
254
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
255
255
|
</instance-parameter>
|
256
256
|
<parameter name="index_" transfer-ownership="none">
|
257
|
-
<doc xml:
|
257
|
+
<doc xml:space="preserve">the index of the audio stream</doc>
|
258
258
|
<type name="gint" c:type="gint"/>
|
259
259
|
</parameter>
|
260
260
|
</parameters>
|
@@ -270,7 +270,7 @@ in the list returned by clutter_gst_player_get_audio_streams().</doc>
|
|
270
270
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
271
271
|
</instance-parameter>
|
272
272
|
<parameter name="mode" transfer-ownership="none">
|
273
|
-
<doc xml:
|
273
|
+
<doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
|
274
274
|
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
275
275
|
</parameter>
|
276
276
|
</parameters>
|
@@ -278,7 +278,7 @@ in the list returned by clutter_gst_player_get_audio_streams().</doc>
|
|
278
278
|
<virtual-method name="set_seek_flags"
|
279
279
|
invoker="set_seek_flags"
|
280
280
|
version="1.4">
|
281
|
-
<doc xml:
|
281
|
+
<doc xml:space="preserve">Seeking can be done with several trade-offs. Clutter-gst defaults
|
282
282
|
to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
|
283
283
|
<return-value transfer-ownership="none">
|
284
284
|
<type name="none" c:type="void"/>
|
@@ -288,7 +288,7 @@ to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
|
|
288
288
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
289
289
|
</instance-parameter>
|
290
290
|
<parameter name="flags" transfer-ownership="none">
|
291
|
-
<doc xml:
|
291
|
+
<doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
|
292
292
|
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
293
293
|
</parameter>
|
294
294
|
</parameters>
|
@@ -296,7 +296,7 @@ to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
|
|
296
296
|
<virtual-method name="set_subtitle_track"
|
297
297
|
invoker="set_subtitle_track"
|
298
298
|
version="1.4">
|
299
|
-
<doc xml:
|
299
|
+
<doc xml:space="preserve">Set the subtitles track to play. @index_ is the index of the stream
|
300
300
|
in the list returned by clutter_gst_player_get_subtitle_tracks().
|
301
301
|
|
302
302
|
If @index_ is -1, the subtitles are turned off.</doc>
|
@@ -308,7 +308,7 @@ If @index_ is -1, the subtitles are turned off.</doc>
|
|
308
308
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
309
309
|
</instance-parameter>
|
310
310
|
<parameter name="index_" transfer-ownership="none">
|
311
|
-
<doc xml:
|
311
|
+
<doc xml:space="preserve">the index of the subtitles track</doc>
|
312
312
|
<type name="gint" c:type="gint"/>
|
313
313
|
</parameter>
|
314
314
|
</parameters>
|
@@ -316,7 +316,7 @@ If @index_ is -1, the subtitles are turned off.</doc>
|
|
316
316
|
<virtual-method name="set_user_agent"
|
317
317
|
invoker="set_user_agent"
|
318
318
|
version="1.4">
|
319
|
-
<doc xml:
|
319
|
+
<doc xml:space="preserve">Sets the user agent to use when streaming.
|
320
320
|
|
321
321
|
When streaming content, you might want to set a custom user agent, eg. to
|
322
322
|
promote your software, make it appear in statistics or because the server
|
@@ -329,7 +329,7 @@ requires a special user agent you want to impersonate.</doc>
|
|
329
329
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
330
330
|
</instance-parameter>
|
331
331
|
<parameter name="user_agent" transfer-ownership="none">
|
332
|
-
<doc xml:
|
332
|
+
<doc xml:space="preserve">the user agent</doc>
|
333
333
|
<type name="utf8" c:type="const gchar*"/>
|
334
334
|
</parameter>
|
335
335
|
</parameters>
|
@@ -337,7 +337,7 @@ requires a special user agent you want to impersonate.</doc>
|
|
337
337
|
<method name="deinit"
|
338
338
|
c:identifier="clutter_gst_player_deinit"
|
339
339
|
version="1.4">
|
340
|
-
<doc xml:
|
340
|
+
<doc xml:space="preserve">Frees the resources created by clutter_gst_player_init(). After
|
341
341
|
clutter_gst_player_deinit() has been called, no other player method can be
|
342
342
|
called on the instance.</doc>
|
343
343
|
<return-value transfer-ownership="none">
|
@@ -345,7 +345,7 @@ called on the instance.</doc>
|
|
345
345
|
</return-value>
|
346
346
|
<parameters>
|
347
347
|
<instance-parameter name="player" transfer-ownership="none">
|
348
|
-
<doc xml:
|
348
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
349
349
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
350
350
|
</instance-parameter>
|
351
351
|
</parameters>
|
@@ -353,16 +353,16 @@ called on the instance.</doc>
|
|
353
353
|
<method name="get_audio_stream"
|
354
354
|
c:identifier="clutter_gst_player_get_audio_stream"
|
355
355
|
version="1.4">
|
356
|
-
<doc xml:
|
356
|
+
<doc xml:space="preserve">Get the current audio stream. The number returned in the index of the
|
357
357
|
audio stream playing in the list returned by
|
358
358
|
clutter_gst_player_get_audio_streams().</doc>
|
359
359
|
<return-value transfer-ownership="none">
|
360
|
-
<doc xml:
|
360
|
+
<doc xml:space="preserve">the index of the current audio stream, -1 if the media has no audio stream</doc>
|
361
361
|
<type name="gint" c:type="gint"/>
|
362
362
|
</return-value>
|
363
363
|
<parameters>
|
364
364
|
<instance-parameter name="player" transfer-ownership="none">
|
365
|
-
<doc xml:
|
365
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
366
366
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
367
367
|
</instance-parameter>
|
368
368
|
</parameters>
|
@@ -370,16 +370,16 @@ clutter_gst_player_get_audio_streams().</doc>
|
|
370
370
|
<method name="get_audio_streams"
|
371
371
|
c:identifier="clutter_gst_player_get_audio_streams"
|
372
372
|
version="1.4">
|
373
|
-
<doc xml:
|
373
|
+
<doc xml:space="preserve">Get the list of audio streams of the current media.</doc>
|
374
374
|
<return-value transfer-ownership="none">
|
375
|
-
<doc xml:
|
375
|
+
<doc xml:space="preserve">a list of strings describing the available audio streams</doc>
|
376
376
|
<type name="GLib.List" c:type="GList*">
|
377
377
|
<type name="utf8"/>
|
378
378
|
</type>
|
379
379
|
</return-value>
|
380
380
|
<parameters>
|
381
381
|
<instance-parameter name="player" transfer-ownership="none">
|
382
|
-
<doc xml:
|
382
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
383
383
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
384
384
|
</instance-parameter>
|
385
385
|
</parameters>
|
@@ -388,12 +388,12 @@ clutter_gst_player_get_audio_streams().</doc>
|
|
388
388
|
c:identifier="clutter_gst_player_get_buffering_mode"
|
389
389
|
version="1.4">
|
390
390
|
<return-value transfer-ownership="none">
|
391
|
-
<doc xml:
|
391
|
+
<doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
|
392
392
|
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
393
393
|
</return-value>
|
394
394
|
<parameters>
|
395
395
|
<instance-parameter name="player" transfer-ownership="none">
|
396
|
-
<doc xml:
|
396
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
397
397
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
398
398
|
</instance-parameter>
|
399
399
|
</parameters>
|
@@ -401,14 +401,14 @@ clutter_gst_player_get_audio_streams().</doc>
|
|
401
401
|
<method name="get_idle"
|
402
402
|
c:identifier="clutter_gst_player_get_idle"
|
403
403
|
version="1.4">
|
404
|
-
<doc xml:
|
404
|
+
<doc xml:space="preserve">Get the idle state of the pipeline.</doc>
|
405
405
|
<return-value transfer-ownership="none">
|
406
|
-
<doc xml:
|
406
|
+
<doc xml:space="preserve">TRUE if the pipline is in idle mode, FALSE otherwise.</doc>
|
407
407
|
<type name="gboolean" c:type="gboolean"/>
|
408
408
|
</return-value>
|
409
409
|
<parameters>
|
410
410
|
<instance-parameter name="player" transfer-ownership="none">
|
411
|
-
<doc xml:
|
411
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
412
412
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
413
413
|
</instance-parameter>
|
414
414
|
</parameters>
|
@@ -416,14 +416,14 @@ clutter_gst_player_get_audio_streams().</doc>
|
|
416
416
|
<method name="get_in_seek"
|
417
417
|
c:identifier="clutter_gst_player_get_in_seek"
|
418
418
|
version="1.6">
|
419
|
-
<doc xml:
|
419
|
+
<doc xml:space="preserve">Whether the player is seeking.</doc>
|
420
420
|
<return-value transfer-ownership="none">
|
421
|
-
<doc xml:
|
421
|
+
<doc xml:space="preserve">TRUE if the player is seeking, FALSE otherwise.</doc>
|
422
422
|
<type name="gboolean" c:type="gboolean"/>
|
423
423
|
</return-value>
|
424
424
|
<parameters>
|
425
425
|
<instance-parameter name="player" transfer-ownership="none">
|
426
|
-
<doc xml:
|
426
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
427
427
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
428
428
|
</instance-parameter>
|
429
429
|
</parameters>
|
@@ -431,15 +431,15 @@ clutter_gst_player_get_audio_streams().</doc>
|
|
431
431
|
<method name="get_pipeline"
|
432
432
|
c:identifier="clutter_gst_player_get_pipeline"
|
433
433
|
version="1.4">
|
434
|
-
<doc xml:
|
434
|
+
<doc xml:space="preserve">Retrieves the #GstPipeline used by the @player, for direct use with
|
435
435
|
GStreamer API.</doc>
|
436
436
|
<return-value transfer-ownership="none">
|
437
|
-
<doc xml:
|
437
|
+
<doc xml:space="preserve">the #GstPipeline element used by the player</doc>
|
438
438
|
<type name="Gst.Element" c:type="GstElement*"/>
|
439
439
|
</return-value>
|
440
440
|
<parameters>
|
441
441
|
<instance-parameter name="player" transfer-ownership="none">
|
442
|
-
<doc xml:
|
442
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
443
443
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
444
444
|
</instance-parameter>
|
445
445
|
</parameters>
|
@@ -447,14 +447,14 @@ GStreamer API.</doc>
|
|
447
447
|
<method name="get_seek_flags"
|
448
448
|
c:identifier="clutter_gst_player_get_seek_flags"
|
449
449
|
version="1.4">
|
450
|
-
<doc xml:
|
450
|
+
<doc xml:space="preserve">Get the current value of the seek-flags property.</doc>
|
451
451
|
<return-value transfer-ownership="none">
|
452
|
-
<doc xml:
|
452
|
+
<doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
|
453
453
|
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
454
454
|
</return-value>
|
455
455
|
<parameters>
|
456
456
|
<instance-parameter name="player" transfer-ownership="none">
|
457
|
-
<doc xml:
|
457
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
458
458
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
459
459
|
</instance-parameter>
|
460
460
|
</parameters>
|
@@ -462,16 +462,16 @@ GStreamer API.</doc>
|
|
462
462
|
<method name="get_subtitle_track"
|
463
463
|
c:identifier="clutter_gst_player_get_subtitle_track"
|
464
464
|
version="1.4">
|
465
|
-
<doc xml:
|
465
|
+
<doc xml:space="preserve">Get the current subtitles track. The number returned is the index of the
|
466
466
|
subtiles track in the list returned by
|
467
467
|
clutter_gst_player_get_subtitle_tracks().</doc>
|
468
468
|
<return-value transfer-ownership="none">
|
469
|
-
<doc xml:
|
469
|
+
<doc xml:space="preserve">the index of the current subtitlest track, -1 if the media has no subtitles track or if the subtitles have been turned off</doc>
|
470
470
|
<type name="gint" c:type="gint"/>
|
471
471
|
</return-value>
|
472
472
|
<parameters>
|
473
473
|
<instance-parameter name="player" transfer-ownership="none">
|
474
|
-
<doc xml:
|
474
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
475
475
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
476
476
|
</instance-parameter>
|
477
477
|
</parameters>
|
@@ -479,16 +479,16 @@ clutter_gst_player_get_subtitle_tracks().</doc>
|
|
479
479
|
<method name="get_subtitle_tracks"
|
480
480
|
c:identifier="clutter_gst_player_get_subtitle_tracks"
|
481
481
|
version="1.4">
|
482
|
-
<doc xml:
|
482
|
+
<doc xml:space="preserve">Get the list of subtitles tracks of the current media.</doc>
|
483
483
|
<return-value transfer-ownership="none">
|
484
|
-
<doc xml:
|
484
|
+
<doc xml:space="preserve">a list of strings describing the available subtitles tracks</doc>
|
485
485
|
<type name="GLib.List" c:type="GList*">
|
486
486
|
<type name="utf8"/>
|
487
487
|
</type>
|
488
488
|
</return-value>
|
489
489
|
<parameters>
|
490
490
|
<instance-parameter name="player" transfer-ownership="none">
|
491
|
-
<doc xml:
|
491
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
492
492
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
493
493
|
</instance-parameter>
|
494
494
|
</parameters>
|
@@ -496,33 +496,24 @@ clutter_gst_player_get_subtitle_tracks().</doc>
|
|
496
496
|
<method name="get_user_agent"
|
497
497
|
c:identifier="clutter_gst_player_get_user_agent"
|
498
498
|
version="1.4">
|
499
|
-
<doc xml:
|
499
|
+
<doc xml:space="preserve">Retrieves the user agent used when streaming.</doc>
|
500
500
|
<return-value transfer-ownership="full">
|
501
|
-
<doc xml:
|
501
|
+
<doc xml:space="preserve">the user agent used. The returned string has to be freed with g_free()</doc>
|
502
502
|
<type name="utf8" c:type="gchar*"/>
|
503
503
|
</return-value>
|
504
504
|
<parameters>
|
505
505
|
<instance-parameter name="player" transfer-ownership="none">
|
506
|
-
<doc xml:
|
506
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
507
507
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
508
508
|
</instance-parameter>
|
509
509
|
</parameters>
|
510
510
|
</method>
|
511
|
-
<method name="init" c:identifier="clutter_gst_player_init"
|
512
|
-
<doc xml:whitespace="preserve">Initialize a #ClutterGstPlayer instance. You should call this
|
513
|
-
function at the beginning of the init method of the class
|
514
|
-
implementing #ClutterGstPlayer.
|
515
|
-
|
516
|
-
When you're finished with the ClutterGstPlayer mixin features (usually in
|
517
|
-
the dispose or finalize vfuncs), call clutter_gst_player_deinit() to
|
518
|
-
desallocate the resources created by clutter_gst_player_init().</doc>
|
511
|
+
<method name="init" c:identifier="clutter_gst_player_init">
|
519
512
|
<return-value transfer-ownership="none">
|
520
|
-
<doc xml:whitespace="preserve">TRUE if the initialization was successfull, FALSE otherwise.</doc>
|
521
513
|
<type name="gboolean" c:type="gboolean"/>
|
522
514
|
</return-value>
|
523
515
|
<parameters>
|
524
516
|
<instance-parameter name="player" transfer-ownership="none">
|
525
|
-
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
526
517
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
527
518
|
</instance-parameter>
|
528
519
|
</parameters>
|
@@ -530,18 +521,18 @@ desallocate the resources created by clutter_gst_player_init().</doc>
|
|
530
521
|
<method name="set_audio_stream"
|
531
522
|
c:identifier="clutter_gst_player_set_audio_stream"
|
532
523
|
version="1.4">
|
533
|
-
<doc xml:
|
524
|
+
<doc xml:space="preserve">Set the audio stream to play. @index_ is the index of the stream
|
534
525
|
in the list returned by clutter_gst_player_get_audio_streams().</doc>
|
535
526
|
<return-value transfer-ownership="none">
|
536
527
|
<type name="none" c:type="void"/>
|
537
528
|
</return-value>
|
538
529
|
<parameters>
|
539
530
|
<instance-parameter name="player" transfer-ownership="none">
|
540
|
-
<doc xml:
|
531
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
541
532
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
542
533
|
</instance-parameter>
|
543
534
|
<parameter name="index_" transfer-ownership="none">
|
544
|
-
<doc xml:
|
535
|
+
<doc xml:space="preserve">the index of the audio stream</doc>
|
545
536
|
<type name="gint" c:type="gint"/>
|
546
537
|
</parameter>
|
547
538
|
</parameters>
|
@@ -554,11 +545,11 @@ in the list returned by clutter_gst_player_get_audio_streams().</doc>
|
|
554
545
|
</return-value>
|
555
546
|
<parameters>
|
556
547
|
<instance-parameter name="player" transfer-ownership="none">
|
557
|
-
<doc xml:
|
548
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
558
549
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
559
550
|
</instance-parameter>
|
560
551
|
<parameter name="mode" transfer-ownership="none">
|
561
|
-
<doc xml:
|
552
|
+
<doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
|
562
553
|
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
563
554
|
</parameter>
|
564
555
|
</parameters>
|
@@ -566,18 +557,18 @@ in the list returned by clutter_gst_player_get_audio_streams().</doc>
|
|
566
557
|
<method name="set_seek_flags"
|
567
558
|
c:identifier="clutter_gst_player_set_seek_flags"
|
568
559
|
version="1.4">
|
569
|
-
<doc xml:
|
560
|
+
<doc xml:space="preserve">Seeking can be done with several trade-offs. Clutter-gst defaults
|
570
561
|
to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
|
571
562
|
<return-value transfer-ownership="none">
|
572
563
|
<type name="none" c:type="void"/>
|
573
564
|
</return-value>
|
574
565
|
<parameters>
|
575
566
|
<instance-parameter name="player" transfer-ownership="none">
|
576
|
-
<doc xml:
|
567
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
577
568
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
578
569
|
</instance-parameter>
|
579
570
|
<parameter name="flags" transfer-ownership="none">
|
580
|
-
<doc xml:
|
571
|
+
<doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
|
581
572
|
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
582
573
|
</parameter>
|
583
574
|
</parameters>
|
@@ -585,7 +576,7 @@ to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
|
|
585
576
|
<method name="set_subtitle_track"
|
586
577
|
c:identifier="clutter_gst_player_set_subtitle_track"
|
587
578
|
version="1.4">
|
588
|
-
<doc xml:
|
579
|
+
<doc xml:space="preserve">Set the subtitles track to play. @index_ is the index of the stream
|
589
580
|
in the list returned by clutter_gst_player_get_subtitle_tracks().
|
590
581
|
|
591
582
|
If @index_ is -1, the subtitles are turned off.</doc>
|
@@ -594,11 +585,11 @@ If @index_ is -1, the subtitles are turned off.</doc>
|
|
594
585
|
</return-value>
|
595
586
|
<parameters>
|
596
587
|
<instance-parameter name="player" transfer-ownership="none">
|
597
|
-
<doc xml:
|
588
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
598
589
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
599
590
|
</instance-parameter>
|
600
591
|
<parameter name="index_" transfer-ownership="none">
|
601
|
-
<doc xml:
|
592
|
+
<doc xml:space="preserve">the index of the subtitles track</doc>
|
602
593
|
<type name="gint" c:type="gint"/>
|
603
594
|
</parameter>
|
604
595
|
</parameters>
|
@@ -606,7 +597,7 @@ If @index_ is -1, the subtitles are turned off.</doc>
|
|
606
597
|
<method name="set_user_agent"
|
607
598
|
c:identifier="clutter_gst_player_set_user_agent"
|
608
599
|
version="1.4">
|
609
|
-
<doc xml:
|
600
|
+
<doc xml:space="preserve">Sets the user agent to use when streaming.
|
610
601
|
|
611
602
|
When streaming content, you might want to set a custom user agent, eg. to
|
612
603
|
promote your software, make it appear in statistics or because the server
|
@@ -616,11 +607,11 @@ requires a special user agent you want to impersonate.</doc>
|
|
616
607
|
</return-value>
|
617
608
|
<parameters>
|
618
609
|
<instance-parameter name="player" transfer-ownership="none">
|
619
|
-
<doc xml:
|
610
|
+
<doc xml:space="preserve">a #ClutterGstPlayer</doc>
|
620
611
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
621
612
|
</instance-parameter>
|
622
613
|
<parameter name="user_agent" transfer-ownership="none">
|
623
|
-
<doc xml:
|
614
|
+
<doc xml:space="preserve">the user agent</doc>
|
624
615
|
<type name="utf8" c:type="const gchar*"/>
|
625
616
|
</parameter>
|
626
617
|
</parameters>
|
@@ -629,26 +620,26 @@ requires a special user agent you want to impersonate.</doc>
|
|
629
620
|
version="1.4"
|
630
621
|
writable="1"
|
631
622
|
transfer-ownership="none">
|
632
|
-
<doc xml:
|
623
|
+
<doc xml:space="preserve">Index of the current audio stream.</doc>
|
633
624
|
<type name="gint" c:type="gint"/>
|
634
625
|
</property>
|
635
626
|
<property name="audio-streams" version="1.4" transfer-ownership="none">
|
636
|
-
<doc xml:
|
627
|
+
<doc xml:space="preserve">List of audio streams available on the current media.</doc>
|
637
628
|
<type name="gpointer" c:type="gpointer"/>
|
638
629
|
</property>
|
639
630
|
<property name="idle" version="1.4" transfer-ownership="none">
|
640
|
-
<doc xml:
|
631
|
+
<doc xml:space="preserve">Whether the #ClutterGstPlayer is in idle mode.</doc>
|
641
632
|
<type name="gboolean" c:type="gboolean"/>
|
642
633
|
</property>
|
643
634
|
<property name="in-seek" version="1.6" transfer-ownership="none">
|
644
|
-
<doc xml:
|
635
|
+
<doc xml:space="preserve">Whether or not the stream is being seeked.</doc>
|
645
636
|
<type name="gboolean" c:type="gboolean"/>
|
646
637
|
</property>
|
647
638
|
<property name="seek-flags"
|
648
639
|
version="1.4"
|
649
640
|
writable="1"
|
650
641
|
transfer-ownership="none">
|
651
|
-
<doc xml:
|
642
|
+
<doc xml:space="preserve">Flags to use when seeking.</doc>
|
652
643
|
<type name="SeekFlags"/>
|
653
644
|
</property>
|
654
645
|
<property name="subtitle-track" writable="1" transfer-ownership="none">
|
@@ -661,22 +652,22 @@ requires a special user agent you want to impersonate.</doc>
|
|
661
652
|
version="1.4"
|
662
653
|
writable="1"
|
663
654
|
transfer-ownership="none">
|
664
|
-
<doc xml:
|
655
|
+
<doc xml:space="preserve">The User Agent used by #ClutterGstPlayer with network protocols.</doc>
|
665
656
|
<type name="utf8" c:type="gchar*"/>
|
666
657
|
</property>
|
667
658
|
<glib:signal name="download-buffering" when="last" version="1.4">
|
668
|
-
<doc xml:
|
659
|
+
<doc xml:space="preserve">The ::download-buffering signal is emitted each time their an
|
669
660
|
update about the buffering of the current media.</doc>
|
670
661
|
<return-value transfer-ownership="none">
|
671
662
|
<type name="none" c:type="void"/>
|
672
663
|
</return-value>
|
673
664
|
<parameters>
|
674
665
|
<parameter name="start" transfer-ownership="none">
|
675
|
-
<doc xml:
|
666
|
+
<doc xml:space="preserve">start position of the buffering</doc>
|
676
667
|
<type name="gdouble" c:type="gdouble"/>
|
677
668
|
</parameter>
|
678
669
|
<parameter name="stop" transfer-ownership="none">
|
679
|
-
<doc xml:
|
670
|
+
<doc xml:space="preserve">start position of the buffering</doc>
|
680
671
|
<type name="gdouble" c:type="gdouble"/>
|
681
672
|
</parameter>
|
682
673
|
</parameters>
|
@@ -686,7 +677,7 @@ update about the buffering of the current media.</doc>
|
|
686
677
|
c:type="ClutterGstPlayerIface"
|
687
678
|
glib:is-gtype-struct-for="Player"
|
688
679
|
version="1.4">
|
689
|
-
<doc xml:
|
680
|
+
<doc xml:space="preserve">Interface vtable for #ClutterGstPlayer implementations</doc>
|
690
681
|
<field name="base_iface" readable="0" private="1">
|
691
682
|
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
|
692
683
|
</field>
|
@@ -697,7 +688,7 @@ update about the buffering of the current media.</doc>
|
|
697
688
|
<field name="get_pipeline">
|
698
689
|
<callback name="get_pipeline">
|
699
690
|
<return-value transfer-ownership="none">
|
700
|
-
<doc xml:
|
691
|
+
<doc xml:space="preserve">the #GstPipeline element used by the player</doc>
|
701
692
|
<type name="Gst.Element" c:type="GstElement*"/>
|
702
693
|
</return-value>
|
703
694
|
<parameters>
|
@@ -710,7 +701,7 @@ update about the buffering of the current media.</doc>
|
|
710
701
|
<field name="get_user_agent">
|
711
702
|
<callback name="get_user_agent">
|
712
703
|
<return-value transfer-ownership="full">
|
713
|
-
<doc xml:
|
704
|
+
<doc xml:space="preserve">the user agent used. The returned string has to be freed with g_free()</doc>
|
714
705
|
<type name="utf8" c:type="gchar*"/>
|
715
706
|
</return-value>
|
716
707
|
<parameters>
|
@@ -730,7 +721,7 @@ update about the buffering of the current media.</doc>
|
|
730
721
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
731
722
|
</parameter>
|
732
723
|
<parameter name="user_agent" transfer-ownership="none">
|
733
|
-
<doc xml:
|
724
|
+
<doc xml:space="preserve">the user agent</doc>
|
734
725
|
<type name="utf8" c:type="const gchar*"/>
|
735
726
|
</parameter>
|
736
727
|
</parameters>
|
@@ -739,7 +730,7 @@ update about the buffering of the current media.</doc>
|
|
739
730
|
<field name="get_seek_flags">
|
740
731
|
<callback name="get_seek_flags">
|
741
732
|
<return-value transfer-ownership="none">
|
742
|
-
<doc xml:
|
733
|
+
<doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
|
743
734
|
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
744
735
|
</return-value>
|
745
736
|
<parameters>
|
@@ -759,7 +750,7 @@ update about the buffering of the current media.</doc>
|
|
759
750
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
760
751
|
</parameter>
|
761
752
|
<parameter name="flags" transfer-ownership="none">
|
762
|
-
<doc xml:
|
753
|
+
<doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
|
763
754
|
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
764
755
|
</parameter>
|
765
756
|
</parameters>
|
@@ -768,7 +759,7 @@ update about the buffering of the current media.</doc>
|
|
768
759
|
<field name="get_buffering_mode">
|
769
760
|
<callback name="get_buffering_mode">
|
770
761
|
<return-value transfer-ownership="none">
|
771
|
-
<doc xml:
|
762
|
+
<doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
|
772
763
|
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
773
764
|
</return-value>
|
774
765
|
<parameters>
|
@@ -788,7 +779,7 @@ update about the buffering of the current media.</doc>
|
|
788
779
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
789
780
|
</parameter>
|
790
781
|
<parameter name="mode" transfer-ownership="none">
|
791
|
-
<doc xml:
|
782
|
+
<doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
|
792
783
|
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
793
784
|
</parameter>
|
794
785
|
</parameters>
|
@@ -797,7 +788,7 @@ update about the buffering of the current media.</doc>
|
|
797
788
|
<field name="get_audio_streams">
|
798
789
|
<callback name="get_audio_streams">
|
799
790
|
<return-value transfer-ownership="none">
|
800
|
-
<doc xml:
|
791
|
+
<doc xml:space="preserve">a list of strings describing the available audio streams</doc>
|
801
792
|
<type name="GLib.List" c:type="GList*">
|
802
793
|
<type name="utf8"/>
|
803
794
|
</type>
|
@@ -812,7 +803,7 @@ update about the buffering of the current media.</doc>
|
|
812
803
|
<field name="get_audio_stream">
|
813
804
|
<callback name="get_audio_stream">
|
814
805
|
<return-value transfer-ownership="none">
|
815
|
-
<doc xml:
|
806
|
+
<doc xml:space="preserve">the index of the current audio stream, -1 if the media has no audio stream</doc>
|
816
807
|
<type name="gint" c:type="gint"/>
|
817
808
|
</return-value>
|
818
809
|
<parameters>
|
@@ -832,7 +823,7 @@ update about the buffering of the current media.</doc>
|
|
832
823
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
833
824
|
</parameter>
|
834
825
|
<parameter name="index_" transfer-ownership="none">
|
835
|
-
<doc xml:
|
826
|
+
<doc xml:space="preserve">the index of the audio stream</doc>
|
836
827
|
<type name="gint" c:type="gint"/>
|
837
828
|
</parameter>
|
838
829
|
</parameters>
|
@@ -841,7 +832,7 @@ update about the buffering of the current media.</doc>
|
|
841
832
|
<field name="get_subtitle_tracks">
|
842
833
|
<callback name="get_subtitle_tracks">
|
843
834
|
<return-value transfer-ownership="none">
|
844
|
-
<doc xml:
|
835
|
+
<doc xml:space="preserve">a list of strings describing the available subtitles tracks</doc>
|
845
836
|
<type name="GLib.List" c:type="GList*">
|
846
837
|
<type name="utf8"/>
|
847
838
|
</type>
|
@@ -856,7 +847,7 @@ update about the buffering of the current media.</doc>
|
|
856
847
|
<field name="get_subtitle_track">
|
857
848
|
<callback name="get_subtitle_track">
|
858
849
|
<return-value transfer-ownership="none">
|
859
|
-
<doc xml:
|
850
|
+
<doc xml:space="preserve">the index of the current subtitlest track, -1 if the media has no subtitles track or if the subtitles have been turned off</doc>
|
860
851
|
<type name="gint" c:type="gint"/>
|
861
852
|
</return-value>
|
862
853
|
<parameters>
|
@@ -876,7 +867,7 @@ update about the buffering of the current media.</doc>
|
|
876
867
|
<type name="Player" c:type="ClutterGstPlayer*"/>
|
877
868
|
</parameter>
|
878
869
|
<parameter name="index_" transfer-ownership="none">
|
879
|
-
<doc xml:
|
870
|
+
<doc xml:space="preserve">the index of the subtitles track</doc>
|
880
871
|
<type name="gint" c:type="gint"/>
|
881
872
|
</parameter>
|
882
873
|
</parameters>
|
@@ -885,7 +876,7 @@ update about the buffering of the current media.</doc>
|
|
885
876
|
<field name="get_idle">
|
886
877
|
<callback name="get_idle">
|
887
878
|
<return-value transfer-ownership="none">
|
888
|
-
<doc xml:
|
879
|
+
<doc xml:space="preserve">TRUE if the pipline is in idle mode, FALSE otherwise.</doc>
|
889
880
|
<type name="gboolean" c:type="gboolean"/>
|
890
881
|
</return-value>
|
891
882
|
<parameters>
|
@@ -898,7 +889,7 @@ update about the buffering of the current media.</doc>
|
|
898
889
|
<field name="get_in_seek">
|
899
890
|
<callback name="get_in_seek">
|
900
891
|
<return-value transfer-ownership="none">
|
901
|
-
<doc xml:
|
892
|
+
<doc xml:space="preserve">TRUE if the player is seeking, FALSE otherwise.</doc>
|
902
893
|
<type name="gboolean" c:type="gboolean"/>
|
903
894
|
</return-value>
|
904
895
|
<parameters>
|
@@ -1139,26 +1130,26 @@ update about the buffering of the current media.</doc>
|
|
1139
1130
|
glib:type-name="ClutterGstSeekFlags"
|
1140
1131
|
glib:get-type="clutter_gst_seek_flags_get_type"
|
1141
1132
|
c:type="ClutterGstSeekFlags">
|
1142
|
-
<doc xml:
|
1133
|
+
<doc xml:space="preserve">Flags that can be given to clutter_gst_video_texture_set_seek_flags().</doc>
|
1143
1134
|
<member name="none"
|
1144
1135
|
value="0"
|
1145
1136
|
c:identifier="CLUTTER_GST_SEEK_FLAG_NONE"
|
1146
1137
|
glib:nick="none">
|
1147
|
-
<doc xml:
|
1138
|
+
<doc xml:space="preserve">Fast seeks (key frame boundaries, default)</doc>
|
1148
1139
|
</member>
|
1149
1140
|
<member name="accurate"
|
1150
1141
|
value="1"
|
1151
1142
|
c:identifier="CLUTTER_GST_SEEK_FLAG_ACCURATE"
|
1152
1143
|
glib:nick="accurate">
|
1153
|
-
<doc xml:
|
1144
|
+
<doc xml:space="preserve">Accurate seeks (potentially slower)</doc>
|
1154
1145
|
</member>
|
1155
1146
|
</bitfield>
|
1156
1147
|
<constant name="VERSION_HEX" value="0" c:type="CLUTTER_GST_VERSION_HEX">
|
1157
|
-
<doc xml:
|
1148
|
+
<doc xml:space="preserve">ClutterGst full version, encoded as an hexadecimal value.</doc>
|
1158
1149
|
<type name="gint" c:type="gint"/>
|
1159
1150
|
</constant>
|
1160
|
-
<constant name="VERSION_S" value="2.0.
|
1161
|
-
<doc xml:
|
1151
|
+
<constant name="VERSION_S" value="2.0.8" c:type="CLUTTER_GST_VERSION_S">
|
1152
|
+
<doc xml:space="preserve">ClutterGst full version, encoded as a string.</doc>
|
1162
1153
|
<type name="utf8" c:type="gchar*"/>
|
1163
1154
|
</constant>
|
1164
1155
|
<class name="VideoSink"
|
@@ -1168,7 +1159,7 @@ update about the buffering of the current media.</doc>
|
|
1168
1159
|
glib:type-name="ClutterGstVideoSink"
|
1169
1160
|
glib:get-type="clutter_gst_video_sink_get_type"
|
1170
1161
|
glib:type-struct="VideoSinkClass">
|
1171
|
-
<doc xml:
|
1162
|
+
<doc xml:space="preserve">Class implementing a GStreamer sink element for #ClutterTexture<!-- -->s.
|
1172
1163
|
|
1173
1164
|
The #ClutterGstVideoSink structure contains only private data and should
|
1174
1165
|
not be accessed directly.</doc>
|
@@ -1177,7 +1168,7 @@ not be accessed directly.</doc>
|
|
1177
1168
|
c:identifier="clutter_gst_video_sink_new"
|
1178
1169
|
deprecated="Use gst_element_factory_make ("cluttersink", ...) and the "texture" GObject property instead."
|
1179
1170
|
deprecated-version="1.6">
|
1180
|
-
<doc xml:
|
1171
|
+
<doc xml:space="preserve">Creates a new GStreamer video sink which uses @texture as the target
|
1181
1172
|
for sinking a video stream from GStreamer.
|
1182
1173
|
|
1183
1174
|
<note>This function has to be called from Clutter's main thread. While
|
@@ -1185,25 +1176,25 @@ GStreamer will spawn threads to do its work, we want all the GL calls to
|
|
1185
1176
|
happen in the same thread. Clutter-gst knows which thread it is by
|
1186
1177
|
assuming this constructor is called from the Clutter thread.</note></doc>
|
1187
1178
|
<return-value transfer-ownership="none">
|
1188
|
-
<doc xml:
|
1179
|
+
<doc xml:space="preserve">a #GstElement for the newly created video sink</doc>
|
1189
1180
|
<type name="Gst.Element" c:type="GstElement*"/>
|
1190
1181
|
</return-value>
|
1191
1182
|
<parameters>
|
1192
1183
|
<parameter name="texture" transfer-ownership="none">
|
1193
|
-
<doc xml:
|
1184
|
+
<doc xml:space="preserve">a #ClutterTexture</doc>
|
1194
1185
|
<type name="Clutter.Texture" c:type="ClutterTexture*"/>
|
1195
1186
|
</parameter>
|
1196
1187
|
</parameters>
|
1197
1188
|
</constructor>
|
1198
1189
|
<property name="texture" writable="1" transfer-ownership="none">
|
1199
|
-
<doc xml:
|
1190
|
+
<doc xml:space="preserve">This is the texture the video is decoded into. It can be any
|
1200
1191
|
#ClutterTexture, however Cluter-Gst has a handy subclass,
|
1201
1192
|
#ClutterGstVideoTexture, that implements the #ClutterMedia
|
1202
1193
|
interface.</doc>
|
1203
1194
|
<type name="Clutter.Texture"/>
|
1204
1195
|
</property>
|
1205
1196
|
<property name="update-priority" writable="1" transfer-ownership="none">
|
1206
|
-
<doc xml:
|
1197
|
+
<doc xml:space="preserve">Clutter-Gst installs a #GSource to signal that a new frame is ready to
|
1207
1198
|
the Clutter thread. This property allows to tweak the priority of the
|
1208
1199
|
source (Lower value is higher priority).
|
1209
1200
|
|
@@ -1220,7 +1211,7 @@ Since 1.0</doc>
|
|
1220
1211
|
<record name="VideoSinkClass"
|
1221
1212
|
c:type="ClutterGstVideoSinkClass"
|
1222
1213
|
glib:is-gtype-struct-for="VideoSink">
|
1223
|
-
<doc xml:
|
1214
|
+
<doc xml:space="preserve">Base class for #ClutterGstVideoSink.</doc>
|
1224
1215
|
<field name="parent_class" readable="0" private="1">
|
1225
1216
|
<type name="GstBase.BaseSinkClass" c:type="GstBaseSinkClass"/>
|
1226
1217
|
</field>
|
@@ -1278,7 +1269,7 @@ Since 1.0</doc>
|
|
1278
1269
|
glib:type-name="ClutterGstVideoTexture"
|
1279
1270
|
glib:get-type="clutter_gst_video_texture_get_type"
|
1280
1271
|
glib:type-struct="VideoTextureClass">
|
1281
|
-
<doc xml:
|
1272
|
+
<doc xml:space="preserve">Subclass of #ClutterTexture that displays videos using GStreamer.
|
1282
1273
|
|
1283
1274
|
The #ClutterGstVideoTexture structure contains only private data and
|
1284
1275
|
should not be accessed directly.</doc>
|
@@ -1289,30 +1280,30 @@ should not be accessed directly.</doc>
|
|
1289
1280
|
<implements name="Clutter.Scriptable"/>
|
1290
1281
|
<implements name="Player"/>
|
1291
1282
|
<constructor name="new" c:identifier="clutter_gst_video_texture_new">
|
1292
|
-
<doc xml:
|
1283
|
+
<doc xml:space="preserve">Creates a video texture.
|
1293
1284
|
|
1294
1285
|
<note>This function has to be called from Clutter's main thread. While
|
1295
1286
|
GStreamer will spawn threads to do its work, we want all the GL calls to
|
1296
1287
|
happen in the same thread. Clutter-gst knows which thread it is by
|
1297
1288
|
assuming this constructor is called from the Clutter thread.</note></doc>
|
1298
1289
|
<return-value transfer-ownership="none">
|
1299
|
-
<doc xml:
|
1290
|
+
<doc xml:space="preserve">the newly created video texture actor</doc>
|
1300
1291
|
<type name="Clutter.Actor" c:type="ClutterActor*"/>
|
1301
1292
|
</return-value>
|
1302
1293
|
</constructor>
|
1303
1294
|
<method name="get_audio_stream"
|
1304
1295
|
c:identifier="clutter_gst_video_texture_get_audio_stream"
|
1305
1296
|
version="1.4">
|
1306
|
-
<doc xml:
|
1297
|
+
<doc xml:space="preserve">Get the current audio stream. The number returned in the index of the
|
1307
1298
|
audio stream playing in the list returned by
|
1308
1299
|
clutter_gst_video_texture_get_audio_streams().</doc>
|
1309
1300
|
<return-value transfer-ownership="none">
|
1310
|
-
<doc xml:
|
1301
|
+
<doc xml:space="preserve">the index of the current audio stream, -1 if the media has no audio stream</doc>
|
1311
1302
|
<type name="gint" c:type="gint"/>
|
1312
1303
|
</return-value>
|
1313
1304
|
<parameters>
|
1314
1305
|
<instance-parameter name="texture" transfer-ownership="none">
|
1315
|
-
<doc xml:
|
1306
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1316
1307
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1317
1308
|
</instance-parameter>
|
1318
1309
|
</parameters>
|
@@ -1320,16 +1311,16 @@ clutter_gst_video_texture_get_audio_streams().</doc>
|
|
1320
1311
|
<method name="get_audio_streams"
|
1321
1312
|
c:identifier="clutter_gst_video_texture_get_audio_streams"
|
1322
1313
|
version="1.4">
|
1323
|
-
<doc xml:
|
1314
|
+
<doc xml:space="preserve">Get the list of audio streams of the current media.</doc>
|
1324
1315
|
<return-value transfer-ownership="none">
|
1325
|
-
<doc xml:
|
1316
|
+
<doc xml:space="preserve">a list of #GstTagList describing the available audio streams</doc>
|
1326
1317
|
<type name="GLib.List" c:type="GList*">
|
1327
1318
|
<type name="Gst.TagList"/>
|
1328
1319
|
</type>
|
1329
1320
|
</return-value>
|
1330
1321
|
<parameters>
|
1331
1322
|
<instance-parameter name="texture" transfer-ownership="none">
|
1332
|
-
<doc xml:
|
1323
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1333
1324
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1334
1325
|
</instance-parameter>
|
1335
1326
|
</parameters>
|
@@ -1338,12 +1329,12 @@ clutter_gst_video_texture_get_audio_streams().</doc>
|
|
1338
1329
|
c:identifier="clutter_gst_video_texture_get_buffering_mode"
|
1339
1330
|
version="1.4">
|
1340
1331
|
<return-value transfer-ownership="none">
|
1341
|
-
<doc xml:
|
1332
|
+
<doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
|
1342
1333
|
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
1343
1334
|
</return-value>
|
1344
1335
|
<parameters>
|
1345
1336
|
<instance-parameter name="texture" transfer-ownership="none">
|
1346
|
-
<doc xml:
|
1337
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1347
1338
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1348
1339
|
</instance-parameter>
|
1349
1340
|
</parameters>
|
@@ -1351,29 +1342,29 @@ clutter_gst_video_texture_get_audio_streams().</doc>
|
|
1351
1342
|
<method name="get_idle_material"
|
1352
1343
|
c:identifier="clutter_gst_video_texture_get_idle_material"
|
1353
1344
|
version="1.2">
|
1354
|
-
<doc xml:
|
1345
|
+
<doc xml:space="preserve">Retrieves the material used to draw when no media is being played.</doc>
|
1355
1346
|
<return-value transfer-ownership="none">
|
1356
|
-
<doc xml:
|
1347
|
+
<doc xml:space="preserve">the #CoglHandle of the idle material</doc>
|
1357
1348
|
<type name="Cogl.Handle" c:type="CoglHandle"/>
|
1358
1349
|
</return-value>
|
1359
1350
|
<parameters>
|
1360
1351
|
<instance-parameter name="texture" transfer-ownership="none">
|
1361
|
-
<doc xml:
|
1352
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1362
1353
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1363
1354
|
</instance-parameter>
|
1364
1355
|
</parameters>
|
1365
1356
|
</method>
|
1366
1357
|
<method name="get_pipeline"
|
1367
1358
|
c:identifier="clutter_gst_video_texture_get_pipeline">
|
1368
|
-
<doc xml:
|
1359
|
+
<doc xml:space="preserve">Retrieves the #GstPipeline used by the @texture, for direct use with
|
1369
1360
|
GStreamer API.</doc>
|
1370
1361
|
<return-value transfer-ownership="none">
|
1371
|
-
<doc xml:
|
1362
|
+
<doc xml:space="preserve">the pipeline element used by the video texture</doc>
|
1372
1363
|
<type name="Gst.Element" c:type="GstElement*"/>
|
1373
1364
|
</return-value>
|
1374
1365
|
<parameters>
|
1375
1366
|
<instance-parameter name="texture" transfer-ownership="none">
|
1376
|
-
<doc xml:
|
1367
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1377
1368
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1378
1369
|
</instance-parameter>
|
1379
1370
|
</parameters>
|
@@ -1381,14 +1372,14 @@ GStreamer API.</doc>
|
|
1381
1372
|
<method name="get_seek_flags"
|
1382
1373
|
c:identifier="clutter_gst_video_texture_get_seek_flags"
|
1383
1374
|
version="1.4">
|
1384
|
-
<doc xml:
|
1375
|
+
<doc xml:space="preserve">Get the current value of the seek-flags property.</doc>
|
1385
1376
|
<return-value transfer-ownership="none">
|
1386
|
-
<doc xml:
|
1377
|
+
<doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
|
1387
1378
|
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
1388
1379
|
</return-value>
|
1389
1380
|
<parameters>
|
1390
1381
|
<instance-parameter name="texture" transfer-ownership="none">
|
1391
|
-
<doc xml:
|
1382
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1392
1383
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1393
1384
|
</instance-parameter>
|
1394
1385
|
</parameters>
|
@@ -1396,16 +1387,16 @@ GStreamer API.</doc>
|
|
1396
1387
|
<method name="get_subtitle_track"
|
1397
1388
|
c:identifier="clutter_gst_video_texture_get_subtitle_track"
|
1398
1389
|
version="1.4">
|
1399
|
-
<doc xml:
|
1390
|
+
<doc xml:space="preserve">Get the current subtitles track. The number returned is the index of the
|
1400
1391
|
subitles track in the list returned by
|
1401
1392
|
clutter_gst_video_texture_get_subtitle_tracks().</doc>
|
1402
1393
|
<return-value transfer-ownership="none">
|
1403
|
-
<doc xml:
|
1394
|
+
<doc xml:space="preserve">the index of the current subtitlest track, -1 if the media has no subtitles track or if the subtitles have been turned off</doc>
|
1404
1395
|
<type name="gint" c:type="gint"/>
|
1405
1396
|
</return-value>
|
1406
1397
|
<parameters>
|
1407
1398
|
<instance-parameter name="texture" transfer-ownership="none">
|
1408
|
-
<doc xml:
|
1399
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1409
1400
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1410
1401
|
</instance-parameter>
|
1411
1402
|
</parameters>
|
@@ -1413,16 +1404,16 @@ clutter_gst_video_texture_get_subtitle_tracks().</doc>
|
|
1413
1404
|
<method name="get_subtitle_tracks"
|
1414
1405
|
c:identifier="clutter_gst_video_texture_get_subtitle_tracks"
|
1415
1406
|
version="1.4">
|
1416
|
-
<doc xml:
|
1407
|
+
<doc xml:space="preserve">Get the list of subtitles tracks of the current media.</doc>
|
1417
1408
|
<return-value transfer-ownership="none">
|
1418
|
-
<doc xml:
|
1409
|
+
<doc xml:space="preserve">a list of #GstTagList describing the available subtitles tracks</doc>
|
1419
1410
|
<type name="GLib.List" c:type="GList*">
|
1420
1411
|
<type name="Gst.TagList"/>
|
1421
1412
|
</type>
|
1422
1413
|
</return-value>
|
1423
1414
|
<parameters>
|
1424
1415
|
<instance-parameter name="texture" transfer-ownership="none">
|
1425
|
-
<doc xml:
|
1416
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1426
1417
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1427
1418
|
</instance-parameter>
|
1428
1419
|
</parameters>
|
@@ -1430,14 +1421,14 @@ clutter_gst_video_texture_get_subtitle_tracks().</doc>
|
|
1430
1421
|
<method name="get_user_agent"
|
1431
1422
|
c:identifier="clutter_gst_video_texture_get_user_agent"
|
1432
1423
|
version="1.2">
|
1433
|
-
<doc xml:
|
1424
|
+
<doc xml:space="preserve">Retrieves the user agent used when streaming.</doc>
|
1434
1425
|
<return-value transfer-ownership="full">
|
1435
|
-
<doc xml:
|
1426
|
+
<doc xml:space="preserve">the user agent used. The returned string has to be freed with g_free()</doc>
|
1436
1427
|
<type name="utf8" c:type="gchar*"/>
|
1437
1428
|
</return-value>
|
1438
1429
|
<parameters>
|
1439
1430
|
<instance-parameter name="texture" transfer-ownership="none">
|
1440
|
-
<doc xml:
|
1431
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1441
1432
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1442
1433
|
</instance-parameter>
|
1443
1434
|
</parameters>
|
@@ -1445,18 +1436,18 @@ clutter_gst_video_texture_get_subtitle_tracks().</doc>
|
|
1445
1436
|
<method name="set_audio_stream"
|
1446
1437
|
c:identifier="clutter_gst_video_texture_set_audio_stream"
|
1447
1438
|
version="1.4">
|
1448
|
-
<doc xml:
|
1439
|
+
<doc xml:space="preserve">Set the audio stream to play. @index_ is the index of the stream
|
1449
1440
|
in the list returned by clutter_gst_video_texture_get_audio_streams().</doc>
|
1450
1441
|
<return-value transfer-ownership="none">
|
1451
1442
|
<type name="none" c:type="void"/>
|
1452
1443
|
</return-value>
|
1453
1444
|
<parameters>
|
1454
1445
|
<instance-parameter name="texture" transfer-ownership="none">
|
1455
|
-
<doc xml:
|
1446
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1456
1447
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1457
1448
|
</instance-parameter>
|
1458
1449
|
<parameter name="index_" transfer-ownership="none">
|
1459
|
-
<doc xml:
|
1450
|
+
<doc xml:space="preserve">the index of the audio stream</doc>
|
1460
1451
|
<type name="gint" c:type="gint"/>
|
1461
1452
|
</parameter>
|
1462
1453
|
</parameters>
|
@@ -1469,11 +1460,11 @@ in the list returned by clutter_gst_video_texture_get_audio_streams().</doc>
|
|
1469
1460
|
</return-value>
|
1470
1461
|
<parameters>
|
1471
1462
|
<instance-parameter name="texture" transfer-ownership="none">
|
1472
|
-
<doc xml:
|
1463
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1473
1464
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1474
1465
|
</instance-parameter>
|
1475
1466
|
<parameter name="mode" transfer-ownership="none">
|
1476
|
-
<doc xml:
|
1467
|
+
<doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
|
1477
1468
|
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
1478
1469
|
</parameter>
|
1479
1470
|
</parameters>
|
@@ -1481,7 +1472,7 @@ in the list returned by clutter_gst_video_texture_get_audio_streams().</doc>
|
|
1481
1472
|
<method name="set_idle_material"
|
1482
1473
|
c:identifier="clutter_gst_video_texture_set_idle_material"
|
1483
1474
|
version="1.2">
|
1484
|
-
<doc xml:
|
1475
|
+
<doc xml:space="preserve">Sets a material to use to draw when no media is being played. The
|
1485
1476
|
#ClutterGstVideoTexture holds a reference of the @material.
|
1486
1477
|
|
1487
1478
|
The default idle material will paint the #ClutterGstVideoTexture in black.
|
@@ -1492,11 +1483,11 @@ default idle material will be used.</doc>
|
|
1492
1483
|
</return-value>
|
1493
1484
|
<parameters>
|
1494
1485
|
<instance-parameter name="texture" transfer-ownership="none">
|
1495
|
-
<doc xml:
|
1486
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1496
1487
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1497
1488
|
</instance-parameter>
|
1498
1489
|
<parameter name="material" transfer-ownership="none">
|
1499
|
-
<doc xml:
|
1490
|
+
<doc xml:space="preserve">the handle of a Cogl material</doc>
|
1500
1491
|
<type name="Cogl.Handle" c:type="CoglHandle"/>
|
1501
1492
|
</parameter>
|
1502
1493
|
</parameters>
|
@@ -1504,18 +1495,18 @@ default idle material will be used.</doc>
|
|
1504
1495
|
<method name="set_seek_flags"
|
1505
1496
|
c:identifier="clutter_gst_video_texture_set_seek_flags"
|
1506
1497
|
version="1.4">
|
1507
|
-
<doc xml:
|
1498
|
+
<doc xml:space="preserve">Seeking can be done with several trade-offs. Clutter-gst defaults
|
1508
1499
|
to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
|
1509
1500
|
<return-value transfer-ownership="none">
|
1510
1501
|
<type name="none" c:type="void"/>
|
1511
1502
|
</return-value>
|
1512
1503
|
<parameters>
|
1513
1504
|
<instance-parameter name="texture" transfer-ownership="none">
|
1514
|
-
<doc xml:
|
1505
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1515
1506
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1516
1507
|
</instance-parameter>
|
1517
1508
|
<parameter name="flags" transfer-ownership="none">
|
1518
|
-
<doc xml:
|
1509
|
+
<doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
|
1519
1510
|
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
1520
1511
|
</parameter>
|
1521
1512
|
</parameters>
|
@@ -1523,7 +1514,7 @@ to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
|
|
1523
1514
|
<method name="set_subtitle_track"
|
1524
1515
|
c:identifier="clutter_gst_video_texture_set_subtitle_track"
|
1525
1516
|
version="1.4">
|
1526
|
-
<doc xml:
|
1517
|
+
<doc xml:space="preserve">Set the subtitles track to play. @index_ is the index of the stream
|
1527
1518
|
in the list returned by clutter_gst_video_texture_get_subtitle_tracks().
|
1528
1519
|
|
1529
1520
|
If @index_ is -1, the subtitles are turned off.</doc>
|
@@ -1532,11 +1523,11 @@ If @index_ is -1, the subtitles are turned off.</doc>
|
|
1532
1523
|
</return-value>
|
1533
1524
|
<parameters>
|
1534
1525
|
<instance-parameter name="texture" transfer-ownership="none">
|
1535
|
-
<doc xml:
|
1526
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1536
1527
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1537
1528
|
</instance-parameter>
|
1538
1529
|
<parameter name="index_" transfer-ownership="none">
|
1539
|
-
<doc xml:
|
1530
|
+
<doc xml:space="preserve">the index of the subtitles track</doc>
|
1540
1531
|
<type name="gint" c:type="gint"/>
|
1541
1532
|
</parameter>
|
1542
1533
|
</parameters>
|
@@ -1544,7 +1535,7 @@ If @index_ is -1, the subtitles are turned off.</doc>
|
|
1544
1535
|
<method name="set_user_agent"
|
1545
1536
|
c:identifier="clutter_gst_video_texture_set_user_agent"
|
1546
1537
|
version="1.2">
|
1547
|
-
<doc xml:
|
1538
|
+
<doc xml:space="preserve">Sets the user agent to use when streaming.
|
1548
1539
|
|
1549
1540
|
When streaming content, you might want to set a custom user agent, eg. to
|
1550
1541
|
promote your software, make it appear in statistics or because the server
|
@@ -1554,11 +1545,11 @@ requires a special user agent you want to impersonate.</doc>
|
|
1554
1545
|
</return-value>
|
1555
1546
|
<parameters>
|
1556
1547
|
<instance-parameter name="texture" transfer-ownership="none">
|
1557
|
-
<doc xml:
|
1548
|
+
<doc xml:space="preserve">a #ClutterGstVideoTexture</doc>
|
1558
1549
|
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1559
1550
|
</instance-parameter>
|
1560
1551
|
<parameter name="user_agent" transfer-ownership="none">
|
1561
|
-
<doc xml:
|
1552
|
+
<doc xml:space="preserve">the user agent</doc>
|
1562
1553
|
<type name="utf8" c:type="const gchar*"/>
|
1563
1554
|
</parameter>
|
1564
1555
|
</parameters>
|
@@ -1585,7 +1576,7 @@ requires a special user agent you want to impersonate.</doc>
|
|
1585
1576
|
<record name="VideoTextureClass"
|
1586
1577
|
c:type="ClutterGstVideoTextureClass"
|
1587
1578
|
glib:is-gtype-struct-for="VideoTexture">
|
1588
|
-
<doc xml:
|
1579
|
+
<doc xml:space="preserve">Base class for #ClutterGstVideoTexture.</doc>
|
1589
1580
|
<field name="parent_class" readable="0" private="1">
|
1590
1581
|
<type name="Clutter.TextureClass" c:type="ClutterTextureClass"/>
|
1591
1582
|
</field>
|
@@ -1637,13 +1628,13 @@ requires a special user agent you want to impersonate.</doc>
|
|
1637
1628
|
disguised="1">
|
1638
1629
|
</record>
|
1639
1630
|
<function name="init" c:identifier="clutter_gst_init">
|
1640
|
-
<doc xml:
|
1631
|
+
<doc xml:space="preserve">Utility function to initialize both Clutter and GStreamer.
|
1641
1632
|
|
1642
1633
|
This function should be called before calling any other GLib functions. If
|
1643
1634
|
this is not an option, your program must initialise the GLib thread system
|
1644
1635
|
using g_thread_init() before any other GLib functions are called.</doc>
|
1645
1636
|
<return-value transfer-ownership="none">
|
1646
|
-
<doc xml:
|
1637
|
+
<doc xml:space="preserve">A #ClutterInitError.</doc>
|
1647
1638
|
<type name="Clutter.InitError" c:type="ClutterInitError"/>
|
1648
1639
|
</return-value>
|
1649
1640
|
<parameters>
|
@@ -1651,7 +1642,7 @@ using g_thread_init() before any other GLib functions are called.</doc>
|
|
1651
1642
|
direction="inout"
|
1652
1643
|
caller-allocates="0"
|
1653
1644
|
transfer-ownership="full">
|
1654
|
-
<doc xml:
|
1645
|
+
<doc xml:space="preserve">The number of arguments in @argv</doc>
|
1655
1646
|
<type name="gint" c:type="int*"/>
|
1656
1647
|
</parameter>
|
1657
1648
|
<parameter name="argv"
|
@@ -1659,7 +1650,7 @@ using g_thread_init() before any other GLib functions are called.</doc>
|
|
1659
1650
|
caller-allocates="0"
|
1660
1651
|
transfer-ownership="full"
|
1661
1652
|
allow-none="1">
|
1662
|
-
<doc xml:
|
1653
|
+
<doc xml:space="preserve">A pointer to an array</doc>
|
1663
1654
|
<array length="0" zero-terminated="0" c:type="char***">
|
1664
1655
|
<type name="utf8" c:type="char**"/>
|
1665
1656
|
</array>
|
@@ -1670,7 +1661,7 @@ using g_thread_init() before any other GLib functions are called.</doc>
|
|
1670
1661
|
c:identifier="clutter_gst_init_with_args"
|
1671
1662
|
version="1.0"
|
1672
1663
|
throws="1">
|
1673
|
-
<doc xml:
|
1664
|
+
<doc xml:space="preserve">This function does the same work as clutter_gst_init(). Additionally, it
|
1674
1665
|
allows you to add your own command line options, and it automatically
|
1675
1666
|
generates nicely formatted --help output. Clutter's and GStreamer's
|
1676
1667
|
#GOptionGroup<!-- -->s are added to the set of available options.
|
@@ -1678,7 +1669,7 @@ generates nicely formatted --help output. Clutter's and GStreamer's
|
|
1678
1669
|
Your program must initialise the GLib thread system using g_thread_init()
|
1679
1670
|
before any other GLib functions are called.</doc>
|
1680
1671
|
<return-value transfer-ownership="none">
|
1681
|
-
<doc xml:
|
1672
|
+
<doc xml:space="preserve">%CLUTTER_INIT_SUCCESS on success, a negative integer on failure.</doc>
|
1682
1673
|
<type name="Clutter.InitError" c:type="ClutterInitError"/>
|
1683
1674
|
</return-value>
|
1684
1675
|
<parameters>
|
@@ -1686,7 +1677,7 @@ before any other GLib functions are called.</doc>
|
|
1686
1677
|
direction="inout"
|
1687
1678
|
caller-allocates="0"
|
1688
1679
|
transfer-ownership="full">
|
1689
|
-
<doc xml:
|
1680
|
+
<doc xml:space="preserve">The number of arguments in @argv</doc>
|
1690
1681
|
<type name="gint" c:type="int*"/>
|
1691
1682
|
</parameter>
|
1692
1683
|
<parameter name="argv"
|
@@ -1694,21 +1685,21 @@ before any other GLib functions are called.</doc>
|
|
1694
1685
|
caller-allocates="0"
|
1695
1686
|
transfer-ownership="full"
|
1696
1687
|
allow-none="1">
|
1697
|
-
<doc xml:
|
1688
|
+
<doc xml:space="preserve">A pointer to an array</doc>
|
1698
1689
|
<array length="0" zero-terminated="0" c:type="char***">
|
1699
1690
|
<type name="utf8" c:type="char**"/>
|
1700
1691
|
</array>
|
1701
1692
|
</parameter>
|
1702
1693
|
<parameter name="parameter_string" transfer-ownership="none">
|
1703
|
-
<doc xml:
|
1694
|
+
<doc xml:space="preserve">a string which is displayed in the first line of <option>--help</option> output, after <literal><replaceable>programname</replaceable> [OPTION...]</literal></doc>
|
1704
1695
|
<type name="utf8" c:type="const char*"/>
|
1705
1696
|
</parameter>
|
1706
1697
|
<parameter name="entries" transfer-ownership="none">
|
1707
|
-
<doc xml:
|
1698
|
+
<doc xml:space="preserve">a %NULL-terminated array of #GOptionEntry<!-- -->s describing the options of your program</doc>
|
1708
1699
|
<type name="GLib.OptionEntry" c:type="GOptionEntry*"/>
|
1709
1700
|
</parameter>
|
1710
1701
|
<parameter name="translation_domain" transfer-ownership="none">
|
1711
|
-
<doc xml:
|
1702
|
+
<doc xml:space="preserve">a translation domain to use for translating the <option>--help</option> output for the options in @entries with gettext(), or %NULL</doc>
|
1712
1703
|
<type name="utf8" c:type="const char*"/>
|
1713
1704
|
</parameter>
|
1714
1705
|
</parameters>
|
@@ -1717,7 +1708,7 @@ before any other GLib functions are called.</doc>
|
|
1717
1708
|
c:identifier="clutter_gst_player_class_init"
|
1718
1709
|
moved-to="Player.class_init"
|
1719
1710
|
version="1.4">
|
1720
|
-
<doc xml:
|
1711
|
+
<doc xml:space="preserve">Adds the #ClutterGstPlayer properties to a class and surchages the
|
1721
1712
|
set/get_property of #GObjectClass. You should call this
|
1722
1713
|
function at the end of the class_init method of the class
|
1723
1714
|
implementing #ClutterGstPlayer.</doc>
|
@@ -1726,7 +1717,7 @@ implementing #ClutterGstPlayer.</doc>
|
|
1726
1717
|
</return-value>
|
1727
1718
|
<parameters>
|
1728
1719
|
<parameter name="object_class" transfer-ownership="none">
|
1729
|
-
<doc xml:
|
1720
|
+
<doc xml:space="preserve">a #GObjectClass</doc>
|
1730
1721
|
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
|
1731
1722
|
</parameter>
|
1732
1723
|
</parameters>
|