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
@@ -0,0 +1,3308 @@
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="Cogl" version="1.0"/>
11
+ <include name="GObject" version="2.0"/>
12
+ <include name="GdkPixbuf" version="2.0"/>
13
+ <include name="Gst" version="1.0"/>
14
+ <include name="GstAudio" version="1.0"/>
15
+ <include name="GstBase" version="1.0"/>
16
+ <include name="GstPbutils" version="1.0"/>
17
+ <include name="GstVideo" version="1.0"/>
18
+ <package name="clutter-gst-3.0"/>
19
+ <c:include name="clutter-gst/clutter-gst.h"/>
20
+ <namespace name="ClutterGst"
21
+ version="3.0"
22
+ shared-library="libclutter-gst-3.0-0.dll"
23
+ c:identifier-prefixes="ClutterGst"
24
+ c:symbol-prefixes="clutter_gst">
25
+ <class name="Aspectratio"
26
+ c:symbol-prefix="aspectratio"
27
+ c:type="ClutterGstAspectratio"
28
+ parent="Content"
29
+ glib:type-name="ClutterGstAspectratio"
30
+ glib:get-type="clutter_gst_aspectratio_get_type"
31
+ glib:type-struct="AspectratioClass">
32
+ <doc xml:space="preserve">Implementation of #ClutterGstContent that displays video streams
33
+ with respects to their aspect ratio.
34
+
35
+ The #ClutterGstAspectratio structure contains only private data and
36
+ should not be accessed directly.</doc>
37
+ <implements name="Clutter.Content"/>
38
+ <function name="new" c:identifier="clutter_gst_aspectratio_new">
39
+ <return-value transfer-ownership="full">
40
+ <doc xml:space="preserve">a new #ClutterGstAspectratio instance</doc>
41
+ <type name="Clutter.Content" c:type="ClutterContent*"/>
42
+ </return-value>
43
+ </function>
44
+ <property name="fill-allocation"
45
+ version="3.0"
46
+ writable="1"
47
+ transfer-ownership="none">
48
+ <doc xml:space="preserve">Whether the content should fill its allocation with video rather
49
+ than adding borders.</doc>
50
+ <type name="gboolean" c:type="gboolean"/>
51
+ </property>
52
+ <property name="paint-borders"
53
+ version="3.0"
54
+ writable="1"
55
+ transfer-ownership="none">
56
+ <doc xml:space="preserve">Whether or not paint borders on the sides of the video</doc>
57
+ <type name="gboolean" c:type="gboolean"/>
58
+ </property>
59
+ <field name="parent" readable="0" private="1">
60
+ <type name="Content" c:type="ClutterGstContent"/>
61
+ </field>
62
+ <field name="priv" readable="0" private="1">
63
+ <type name="AspectratioPrivate"
64
+ c:type="ClutterGstAspectratioPrivate*"/>
65
+ </field>
66
+ </class>
67
+ <record name="AspectratioClass"
68
+ c:type="ClutterGstAspectratioClass"
69
+ glib:is-gtype-struct-for="Aspectratio">
70
+ <doc xml:space="preserve">Base class for #ClutterGstAspectratio.</doc>
71
+ <field name="parent_class" readable="0" private="1">
72
+ <type name="ContentClass" c:type="ClutterGstContentClass"/>
73
+ </field>
74
+ <field name="_padding_dummy" readable="0" private="1">
75
+ <array zero-terminated="0" c:type="void" fixed-size="8">
76
+ <type name="gpointer" c:type="void*"/>
77
+ </array>
78
+ </field>
79
+ </record>
80
+ <record name="AspectratioPrivate"
81
+ c:type="ClutterGstAspectratioPrivate"
82
+ disguised="1">
83
+ </record>
84
+ <record name="Box"
85
+ c:type="ClutterGstBox"
86
+ version="3.0"
87
+ glib:type-name="ClutterGstBox"
88
+ glib:get-type="clutter_gst_box_get_type"
89
+ c:symbol-prefix="box">
90
+ <doc xml:space="preserve">Bounding box of an area in a video texture or actor's allocation.
91
+ Coordinates are usually expressed in the [0, 1] interval.</doc>
92
+ <field name="x1" writable="1">
93
+ <doc xml:space="preserve">X coordinate of the top left corner</doc>
94
+ <type name="gfloat" c:type="gfloat"/>
95
+ </field>
96
+ <field name="y1" writable="1">
97
+ <doc xml:space="preserve">Y coordinate of the top left corner</doc>
98
+ <type name="gfloat" c:type="gfloat"/>
99
+ </field>
100
+ <field name="x2" writable="1">
101
+ <doc xml:space="preserve">X coordinate of the bottom right corner</doc>
102
+ <type name="gfloat" c:type="gfloat"/>
103
+ </field>
104
+ <field name="y2" writable="1">
105
+ <doc xml:space="preserve">Y coordinate of the bottom right corner</doc>
106
+ <type name="gfloat" c:type="gfloat"/>
107
+ </field>
108
+ <method name="get_height"
109
+ c:identifier="clutter_gst_box_get_height"
110
+ version="3.0">
111
+ <doc xml:space="preserve">Retrieves the height of the @box</doc>
112
+ <return-value transfer-ownership="none">
113
+ <doc xml:space="preserve">the height of the box</doc>
114
+ <type name="gfloat" c:type="gfloat"/>
115
+ </return-value>
116
+ <parameters>
117
+ <instance-parameter name="box" transfer-ownership="none">
118
+ <doc xml:space="preserve">a #ClutterGstBox</doc>
119
+ <type name="Box" c:type="const ClutterGstBox*"/>
120
+ </instance-parameter>
121
+ </parameters>
122
+ </method>
123
+ <method name="get_width"
124
+ c:identifier="clutter_gst_box_get_width"
125
+ version="3.0">
126
+ <doc xml:space="preserve">Retrieves the width of the @box</doc>
127
+ <return-value transfer-ownership="none">
128
+ <doc xml:space="preserve">the width of the box</doc>
129
+ <type name="gfloat" c:type="gfloat"/>
130
+ </return-value>
131
+ <parameters>
132
+ <instance-parameter name="box" transfer-ownership="none">
133
+ <doc xml:space="preserve">a #ClutterGstBox</doc>
134
+ <type name="Box" c:type="const ClutterGstBox*"/>
135
+ </instance-parameter>
136
+ </parameters>
137
+ </method>
138
+ </record>
139
+ <enumeration name="BufferingMode"
140
+ version="1.4"
141
+ glib:type-name="ClutterGstBufferingMode"
142
+ glib:get-type="clutter_gst_buffering_mode_get_type"
143
+ c:type="ClutterGstBufferingMode">
144
+ <doc xml:space="preserve">Different buffering policies clutter-gst supports</doc>
145
+ <member name="stream"
146
+ value="0"
147
+ c:identifier="CLUTTER_GST_BUFFERING_MODE_STREAM"
148
+ glib:nick="stream">
149
+ <doc xml:space="preserve">In-memory buffering</doc>
150
+ </member>
151
+ <member name="download"
152
+ value="1"
153
+ c:identifier="CLUTTER_GST_BUFFERING_MODE_DOWNLOAD"
154
+ glib:nick="download">
155
+ <doc xml:space="preserve">On-disk buffering</doc>
156
+ </member>
157
+ </enumeration>
158
+ <class name="Camera"
159
+ c:symbol-prefix="camera"
160
+ c:type="ClutterGstCamera"
161
+ parent="GObject.Object"
162
+ glib:type-name="ClutterGstCamera"
163
+ glib:get-type="clutter_gst_camera_get_type"
164
+ glib:type-struct="CameraClass">
165
+ <doc xml:space="preserve">Implementation of #ClutterGstPlayer that displays camera streams
166
+ using GStreamer.
167
+
168
+ The #ClutterGstCamera structure contains only private data and
169
+ should not be accessed directly.</doc>
170
+ <implements name="Player"/>
171
+ <constructor name="new" c:identifier="clutter_gst_camera_new">
172
+ <doc xml:space="preserve">Create a camera actor.
173
+
174
+ &lt;note&gt;This function has to be called from Clutter's main thread. While
175
+ GStreamer will spawn threads to do its work, we want all the GL calls to
176
+ happen in the same thread. Clutter-gst knows which thread it is by
177
+ assuming this constructor is called from the Clutter thread.&lt;/note&gt;</doc>
178
+ <return-value transfer-ownership="full">
179
+ <doc xml:space="preserve">the newly created camera actor</doc>
180
+ <type name="Camera" c:type="ClutterGstCamera*"/>
181
+ </return-value>
182
+ </constructor>
183
+ <virtual-method name="photo_saved">
184
+ <return-value transfer-ownership="none">
185
+ <type name="none" c:type="void"/>
186
+ </return-value>
187
+ <parameters>
188
+ <instance-parameter name="self" transfer-ownership="none">
189
+ <type name="Camera" c:type="ClutterGstCamera*"/>
190
+ </instance-parameter>
191
+ </parameters>
192
+ </virtual-method>
193
+ <virtual-method name="photo_taken">
194
+ <return-value transfer-ownership="none">
195
+ <type name="none" c:type="void"/>
196
+ </return-value>
197
+ <parameters>
198
+ <instance-parameter name="self" transfer-ownership="none">
199
+ <type name="Camera" c:type="ClutterGstCamera*"/>
200
+ </instance-parameter>
201
+ <parameter name="pixbuf" transfer-ownership="none">
202
+ <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
203
+ </parameter>
204
+ </parameters>
205
+ </virtual-method>
206
+ <virtual-method name="ready_for_capture">
207
+ <return-value transfer-ownership="none">
208
+ <type name="none" c:type="void"/>
209
+ </return-value>
210
+ <parameters>
211
+ <instance-parameter name="self" transfer-ownership="none">
212
+ <type name="Camera" c:type="ClutterGstCamera*"/>
213
+ </instance-parameter>
214
+ <parameter name="ready" transfer-ownership="none">
215
+ <type name="gboolean" c:type="gboolean"/>
216
+ </parameter>
217
+ </parameters>
218
+ </virtual-method>
219
+ <virtual-method name="video_saved">
220
+ <return-value transfer-ownership="none">
221
+ <type name="none" c:type="void"/>
222
+ </return-value>
223
+ <parameters>
224
+ <instance-parameter name="self" transfer-ownership="none">
225
+ <type name="Camera" c:type="ClutterGstCamera*"/>
226
+ </instance-parameter>
227
+ </parameters>
228
+ </virtual-method>
229
+ <method name="get_brightness"
230
+ c:identifier="clutter_gst_camera_get_brightness">
231
+ <return-value transfer-ownership="none">
232
+ <type name="gboolean" c:type="gboolean"/>
233
+ </return-value>
234
+ <parameters>
235
+ <instance-parameter name="self" transfer-ownership="none">
236
+ <type name="Camera" c:type="ClutterGstCamera*"/>
237
+ </instance-parameter>
238
+ <parameter name="cur_value" transfer-ownership="none">
239
+ <type name="gdouble" c:type="gdouble*"/>
240
+ </parameter>
241
+ </parameters>
242
+ </method>
243
+ <method name="get_brightness_range"
244
+ c:identifier="clutter_gst_camera_get_brightness_range">
245
+ <return-value transfer-ownership="none">
246
+ <type name="gboolean" c:type="gboolean"/>
247
+ </return-value>
248
+ <parameters>
249
+ <instance-parameter name="self" transfer-ownership="none">
250
+ <type name="Camera" c:type="ClutterGstCamera*"/>
251
+ </instance-parameter>
252
+ <parameter name="min_value" transfer-ownership="none">
253
+ <type name="gdouble" c:type="gdouble*"/>
254
+ </parameter>
255
+ <parameter name="max_value" transfer-ownership="none">
256
+ <type name="gdouble" c:type="gdouble*"/>
257
+ </parameter>
258
+ <parameter name="default_value" transfer-ownership="none">
259
+ <type name="gdouble" c:type="gdouble*"/>
260
+ </parameter>
261
+ </parameters>
262
+ </method>
263
+ <method name="get_camera_device"
264
+ c:identifier="clutter_gst_camera_get_camera_device">
265
+ <doc xml:space="preserve">Retrieve the current selected camera device.</doc>
266
+ <return-value transfer-ownership="none">
267
+ <doc xml:space="preserve">The currently selected camera device</doc>
268
+ <type name="CameraDevice" c:type="ClutterGstCameraDevice*"/>
269
+ </return-value>
270
+ <parameters>
271
+ <instance-parameter name="self" transfer-ownership="none">
272
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
273
+ <type name="Camera" c:type="ClutterGstCamera*"/>
274
+ </instance-parameter>
275
+ </parameters>
276
+ </method>
277
+ <method name="get_color_balance_property"
278
+ c:identifier="clutter_gst_camera_get_color_balance_property">
279
+ <doc xml:space="preserve">Retrieve the current value for the color balance property @property,
280
+
281
+ This method will return FALSE if @property does not exist or color balance is not
282
+ supported on @self.
283
+ See clutter_gst_camera_supports_color_balance().</doc>
284
+ <return-value transfer-ownership="none">
285
+ <doc xml:space="preserve">%TRUE if successful, %FALSE otherwise</doc>
286
+ <type name="gboolean" c:type="gboolean"/>
287
+ </return-value>
288
+ <parameters>
289
+ <instance-parameter name="self" transfer-ownership="none">
290
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
291
+ <type name="Camera" c:type="ClutterGstCamera*"/>
292
+ </instance-parameter>
293
+ <parameter name="property" transfer-ownership="none">
294
+ <doc xml:space="preserve">Property name</doc>
295
+ <type name="utf8" c:type="const gchar*"/>
296
+ </parameter>
297
+ <parameter name="cur_value" transfer-ownership="none">
298
+ <doc xml:space="preserve">Pointer to store the current value of @property</doc>
299
+ <type name="gdouble" c:type="gdouble*"/>
300
+ </parameter>
301
+ </parameters>
302
+ </method>
303
+ <method name="get_color_balance_property_range"
304
+ c:identifier="clutter_gst_camera_get_color_balance_property_range">
305
+ <doc xml:space="preserve">Retrieve the minimum, maximum and default values for the color balance property @property,
306
+
307
+ This method will return FALSE if @property does not exist or color balance is not
308
+ supported on @self.
309
+ See clutter_gst_camera_supports_color_balance().</doc>
310
+ <return-value transfer-ownership="none">
311
+ <doc xml:space="preserve">%TRUE if successful, %FALSE otherwise</doc>
312
+ <type name="gboolean" c:type="gboolean"/>
313
+ </return-value>
314
+ <parameters>
315
+ <instance-parameter name="self" transfer-ownership="none">
316
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
317
+ <type name="Camera" c:type="ClutterGstCamera*"/>
318
+ </instance-parameter>
319
+ <parameter name="property" transfer-ownership="none">
320
+ <doc xml:space="preserve">Property name</doc>
321
+ <type name="utf8" c:type="const gchar*"/>
322
+ </parameter>
323
+ <parameter name="min_value" transfer-ownership="none">
324
+ <doc xml:space="preserve">Pointer to store the minimum value of @property, or %NULL</doc>
325
+ <type name="gdouble" c:type="gdouble*"/>
326
+ </parameter>
327
+ <parameter name="max_value" transfer-ownership="none">
328
+ <doc xml:space="preserve">Pointer to store the maximum value of @property, or %NULL</doc>
329
+ <type name="gdouble" c:type="gdouble*"/>
330
+ </parameter>
331
+ <parameter name="default_value" transfer-ownership="none">
332
+ <doc xml:space="preserve">Pointer to store the default value of @property, or %NULL</doc>
333
+ <type name="gdouble" c:type="gdouble*"/>
334
+ </parameter>
335
+ </parameters>
336
+ </method>
337
+ <method name="get_contrast"
338
+ c:identifier="clutter_gst_camera_get_contrast">
339
+ <return-value transfer-ownership="none">
340
+ <type name="gboolean" c:type="gboolean"/>
341
+ </return-value>
342
+ <parameters>
343
+ <instance-parameter name="self" transfer-ownership="none">
344
+ <type name="Camera" c:type="ClutterGstCamera*"/>
345
+ </instance-parameter>
346
+ <parameter name="cur_value" transfer-ownership="none">
347
+ <type name="gdouble" c:type="gdouble*"/>
348
+ </parameter>
349
+ </parameters>
350
+ </method>
351
+ <method name="get_contrast_range"
352
+ c:identifier="clutter_gst_camera_get_contrast_range">
353
+ <return-value transfer-ownership="none">
354
+ <type name="gboolean" c:type="gboolean"/>
355
+ </return-value>
356
+ <parameters>
357
+ <instance-parameter name="self" transfer-ownership="none">
358
+ <type name="Camera" c:type="ClutterGstCamera*"/>
359
+ </instance-parameter>
360
+ <parameter name="min_value" transfer-ownership="none">
361
+ <type name="gdouble" c:type="gdouble*"/>
362
+ </parameter>
363
+ <parameter name="max_value" transfer-ownership="none">
364
+ <type name="gdouble" c:type="gdouble*"/>
365
+ </parameter>
366
+ <parameter name="default_value" transfer-ownership="none">
367
+ <type name="gdouble" c:type="gdouble*"/>
368
+ </parameter>
369
+ </parameters>
370
+ </method>
371
+ <method name="get_filter" c:identifier="clutter_gst_camera_get_filter">
372
+ <doc xml:space="preserve">Retrieve the current filter being used.</doc>
373
+ <return-value transfer-ownership="none">
374
+ <doc xml:space="preserve">The current filter or %NULL if none is set</doc>
375
+ <type name="Gst.Element" c:type="GstElement*"/>
376
+ </return-value>
377
+ <parameters>
378
+ <instance-parameter name="self" transfer-ownership="none">
379
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
380
+ <type name="Camera" c:type="ClutterGstCamera*"/>
381
+ </instance-parameter>
382
+ </parameters>
383
+ </method>
384
+ <method name="get_gamma" c:identifier="clutter_gst_camera_get_gamma">
385
+ <doc xml:space="preserve">Retrieve the current gamma value.
386
+
387
+ This method will return FALSE if gamma correction is not
388
+ supported on @self.
389
+ See clutter_gst_camera_supports_gamma_correction().</doc>
390
+ <return-value transfer-ownership="none">
391
+ <doc xml:space="preserve">%TRUE if successful, %FALSE otherwise</doc>
392
+ <type name="gboolean" c:type="gboolean"/>
393
+ </return-value>
394
+ <parameters>
395
+ <instance-parameter name="self" transfer-ownership="none">
396
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
397
+ <type name="Camera" c:type="ClutterGstCamera*"/>
398
+ </instance-parameter>
399
+ <parameter name="cur_value" transfer-ownership="none">
400
+ <doc xml:space="preserve">Pointer to store the current gamma value</doc>
401
+ <type name="gdouble" c:type="gdouble*"/>
402
+ </parameter>
403
+ </parameters>
404
+ </method>
405
+ <method name="get_gamma_range"
406
+ c:identifier="clutter_gst_camera_get_gamma_range">
407
+ <doc xml:space="preserve">Retrieve the minimum, maximum and default gamma values.
408
+
409
+ This method will return FALSE if gamma correction is not
410
+ supported on @self.
411
+ See clutter_gst_camera_supports_gamma_correction().</doc>
412
+ <return-value transfer-ownership="none">
413
+ <doc xml:space="preserve">%TRUE if successful, %FALSE otherwise</doc>
414
+ <type name="gboolean" c:type="gboolean"/>
415
+ </return-value>
416
+ <parameters>
417
+ <instance-parameter name="self" transfer-ownership="none">
418
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
419
+ <type name="Camera" c:type="ClutterGstCamera*"/>
420
+ </instance-parameter>
421
+ <parameter name="min_value" transfer-ownership="none">
422
+ <doc xml:space="preserve">Pointer to store the minimum gamma value, or %NULL</doc>
423
+ <type name="gdouble" c:type="gdouble*"/>
424
+ </parameter>
425
+ <parameter name="max_value" transfer-ownership="none">
426
+ <doc xml:space="preserve">Pointer to store the maximum gamma value, or %NULL</doc>
427
+ <type name="gdouble" c:type="gdouble*"/>
428
+ </parameter>
429
+ <parameter name="default_value" transfer-ownership="none">
430
+ <doc xml:space="preserve">Pointer to store the default gamma value, or %NULL</doc>
431
+ <type name="gdouble" c:type="gdouble*"/>
432
+ </parameter>
433
+ </parameters>
434
+ </method>
435
+ <method name="get_hue" c:identifier="clutter_gst_camera_get_hue">
436
+ <return-value transfer-ownership="none">
437
+ <type name="gboolean" c:type="gboolean"/>
438
+ </return-value>
439
+ <parameters>
440
+ <instance-parameter name="self" transfer-ownership="none">
441
+ <type name="Camera" c:type="ClutterGstCamera*"/>
442
+ </instance-parameter>
443
+ <parameter name="cur_value" transfer-ownership="none">
444
+ <type name="gdouble" c:type="gdouble*"/>
445
+ </parameter>
446
+ </parameters>
447
+ </method>
448
+ <method name="get_hue_range"
449
+ c:identifier="clutter_gst_camera_get_hue_range">
450
+ <return-value transfer-ownership="none">
451
+ <type name="gboolean" c:type="gboolean"/>
452
+ </return-value>
453
+ <parameters>
454
+ <instance-parameter name="self" transfer-ownership="none">
455
+ <type name="Camera" c:type="ClutterGstCamera*"/>
456
+ </instance-parameter>
457
+ <parameter name="min_value" transfer-ownership="none">
458
+ <type name="gdouble" c:type="gdouble*"/>
459
+ </parameter>
460
+ <parameter name="max_value" transfer-ownership="none">
461
+ <type name="gdouble" c:type="gdouble*"/>
462
+ </parameter>
463
+ <parameter name="default_value" transfer-ownership="none">
464
+ <type name="gdouble" c:type="gdouble*"/>
465
+ </parameter>
466
+ </parameters>
467
+ </method>
468
+ <method name="get_saturation"
469
+ c:identifier="clutter_gst_camera_get_saturation">
470
+ <return-value transfer-ownership="none">
471
+ <type name="gboolean" c:type="gboolean"/>
472
+ </return-value>
473
+ <parameters>
474
+ <instance-parameter name="self" transfer-ownership="none">
475
+ <type name="Camera" c:type="ClutterGstCamera*"/>
476
+ </instance-parameter>
477
+ <parameter name="cur_value" transfer-ownership="none">
478
+ <type name="gdouble" c:type="gdouble*"/>
479
+ </parameter>
480
+ </parameters>
481
+ </method>
482
+ <method name="get_saturation_range"
483
+ c:identifier="clutter_gst_camera_get_saturation_range">
484
+ <return-value transfer-ownership="none">
485
+ <type name="gboolean" c:type="gboolean"/>
486
+ </return-value>
487
+ <parameters>
488
+ <instance-parameter name="self" transfer-ownership="none">
489
+ <type name="Camera" c:type="ClutterGstCamera*"/>
490
+ </instance-parameter>
491
+ <parameter name="min_value" transfer-ownership="none">
492
+ <type name="gdouble" c:type="gdouble*"/>
493
+ </parameter>
494
+ <parameter name="max_value" transfer-ownership="none">
495
+ <type name="gdouble" c:type="gdouble*"/>
496
+ </parameter>
497
+ <parameter name="default_value" transfer-ownership="none">
498
+ <type name="gdouble" c:type="gdouble*"/>
499
+ </parameter>
500
+ </parameters>
501
+ </method>
502
+ <method name="is_ready_for_capture"
503
+ c:identifier="clutter_gst_camera_is_ready_for_capture">
504
+ <doc xml:space="preserve">Check whether the @self is ready for video/photo capture.</doc>
505
+ <return-value transfer-ownership="none">
506
+ <doc xml:space="preserve">%TRUE if @self is ready for capture, %FALSE otherwise</doc>
507
+ <type name="gboolean" c:type="gboolean"/>
508
+ </return-value>
509
+ <parameters>
510
+ <instance-parameter name="self" transfer-ownership="none">
511
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
512
+ <type name="Camera" c:type="ClutterGstCamera*"/>
513
+ </instance-parameter>
514
+ </parameters>
515
+ </method>
516
+ <method name="is_recording_video"
517
+ c:identifier="clutter_gst_camera_is_recording_video">
518
+ <doc xml:space="preserve">Check whether the @self is recording video.</doc>
519
+ <return-value transfer-ownership="none">
520
+ <doc xml:space="preserve">%TRUE if @self is recording video, %FALSE otherwise</doc>
521
+ <type name="gboolean" c:type="gboolean"/>
522
+ </return-value>
523
+ <parameters>
524
+ <instance-parameter name="self" transfer-ownership="none">
525
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
526
+ <type name="Camera" c:type="ClutterGstCamera*"/>
527
+ </instance-parameter>
528
+ </parameters>
529
+ </method>
530
+ <method name="remove_filter"
531
+ c:identifier="clutter_gst_camera_remove_filter">
532
+ <doc xml:space="preserve">Remove the current filter, if any.</doc>
533
+ <return-value transfer-ownership="none">
534
+ <doc xml:space="preserve">%TRUE on success, %FALSE otherwise</doc>
535
+ <type name="gboolean" c:type="gboolean"/>
536
+ </return-value>
537
+ <parameters>
538
+ <instance-parameter name="self" transfer-ownership="none">
539
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
540
+ <type name="Camera" c:type="ClutterGstCamera*"/>
541
+ </instance-parameter>
542
+ </parameters>
543
+ </method>
544
+ <method name="set_brightness"
545
+ c:identifier="clutter_gst_camera_set_brightness">
546
+ <return-value transfer-ownership="none">
547
+ <type name="gboolean" c:type="gboolean"/>
548
+ </return-value>
549
+ <parameters>
550
+ <instance-parameter name="self" transfer-ownership="none">
551
+ <type name="Camera" c:type="ClutterGstCamera*"/>
552
+ </instance-parameter>
553
+ <parameter name="value" transfer-ownership="none">
554
+ <type name="gdouble" c:type="gdouble"/>
555
+ </parameter>
556
+ </parameters>
557
+ </method>
558
+ <method name="set_camera_device"
559
+ c:identifier="clutter_gst_camera_set_camera_device">
560
+ <doc xml:space="preserve">Set the new active camera device.</doc>
561
+ <return-value transfer-ownership="none">
562
+ <doc xml:space="preserve">%TRUE on success, %FALSE otherwise</doc>
563
+ <type name="gboolean" c:type="gboolean"/>
564
+ </return-value>
565
+ <parameters>
566
+ <instance-parameter name="self" transfer-ownership="none">
567
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
568
+ <type name="Camera" c:type="ClutterGstCamera*"/>
569
+ </instance-parameter>
570
+ <parameter name="device" transfer-ownership="none">
571
+ <doc xml:space="preserve">a #ClutterGstCameraDevice</doc>
572
+ <type name="CameraDevice" c:type="ClutterGstCameraDevice*"/>
573
+ </parameter>
574
+ </parameters>
575
+ </method>
576
+ <method name="set_color_balance_property"
577
+ c:identifier="clutter_gst_camera_set_color_balance_property">
578
+ <doc xml:space="preserve">Set the value for the color balance property @property to @value.
579
+ Allowed values can be retrieved with
580
+ clutter_gst_camera_get_color_balance_property_range().
581
+
582
+ This method will return FALSE if @property does not exist or color balance is not
583
+ supported on @self.
584
+ See clutter_gst_camera_supports_color_balance().</doc>
585
+ <return-value transfer-ownership="none">
586
+ <doc xml:space="preserve">%TRUE if successful, %FALSE otherwise</doc>
587
+ <type name="gboolean" c:type="gboolean"/>
588
+ </return-value>
589
+ <parameters>
590
+ <instance-parameter name="self" transfer-ownership="none">
591
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
592
+ <type name="Camera" c:type="ClutterGstCamera*"/>
593
+ </instance-parameter>
594
+ <parameter name="property" transfer-ownership="none">
595
+ <doc xml:space="preserve">Property name</doc>
596
+ <type name="utf8" c:type="const gchar*"/>
597
+ </parameter>
598
+ <parameter name="value" transfer-ownership="none">
599
+ <doc xml:space="preserve">The value to set</doc>
600
+ <type name="gdouble" c:type="gdouble"/>
601
+ </parameter>
602
+ </parameters>
603
+ </method>
604
+ <method name="set_contrast"
605
+ c:identifier="clutter_gst_camera_set_contrast">
606
+ <return-value transfer-ownership="none">
607
+ <type name="gboolean" c:type="gboolean"/>
608
+ </return-value>
609
+ <parameters>
610
+ <instance-parameter name="self" transfer-ownership="none">
611
+ <type name="Camera" c:type="ClutterGstCamera*"/>
612
+ </instance-parameter>
613
+ <parameter name="value" transfer-ownership="none">
614
+ <type name="gdouble" c:type="gdouble"/>
615
+ </parameter>
616
+ </parameters>
617
+ </method>
618
+ <method name="set_filter" c:identifier="clutter_gst_camera_set_filter">
619
+ <doc xml:space="preserve">Set the filter element to be used.
620
+ Filters can be used for effects, image processing, etc.</doc>
621
+ <return-value transfer-ownership="none">
622
+ <doc xml:space="preserve">%TRUE on success, %FALSE otherwise</doc>
623
+ <type name="gboolean" c:type="gboolean"/>
624
+ </return-value>
625
+ <parameters>
626
+ <instance-parameter name="self" transfer-ownership="none">
627
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
628
+ <type name="Camera" c:type="ClutterGstCamera*"/>
629
+ </instance-parameter>
630
+ <parameter name="filter" transfer-ownership="none">
631
+ <doc xml:space="preserve">a #GstElement for the filter</doc>
632
+ <type name="Gst.Element" c:type="GstElement*"/>
633
+ </parameter>
634
+ </parameters>
635
+ </method>
636
+ <method name="set_gamma" c:identifier="clutter_gst_camera_set_gamma">
637
+ <doc xml:space="preserve">Set the gamma value.
638
+ Allowed values can be retrieved with
639
+ clutter_gst_camera_get_gamma_range().
640
+
641
+ This method will return FALSE if gamma correction is not
642
+ supported on @self.
643
+ See clutter_gst_camera_supports_gamma_correction().</doc>
644
+ <return-value transfer-ownership="none">
645
+ <doc xml:space="preserve">%TRUE if successful, %FALSE otherwise</doc>
646
+ <type name="gboolean" c:type="gboolean"/>
647
+ </return-value>
648
+ <parameters>
649
+ <instance-parameter name="self" transfer-ownership="none">
650
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
651
+ <type name="Camera" c:type="ClutterGstCamera*"/>
652
+ </instance-parameter>
653
+ <parameter name="value" transfer-ownership="none">
654
+ <doc xml:space="preserve">The value to set</doc>
655
+ <type name="gdouble" c:type="gdouble"/>
656
+ </parameter>
657
+ </parameters>
658
+ </method>
659
+ <method name="set_hue" c:identifier="clutter_gst_camera_set_hue">
660
+ <return-value transfer-ownership="none">
661
+ <type name="gboolean" c:type="gboolean"/>
662
+ </return-value>
663
+ <parameters>
664
+ <instance-parameter name="self" transfer-ownership="none">
665
+ <type name="Camera" c:type="ClutterGstCamera*"/>
666
+ </instance-parameter>
667
+ <parameter name="value" transfer-ownership="none">
668
+ <type name="gdouble" c:type="gdouble"/>
669
+ </parameter>
670
+ </parameters>
671
+ </method>
672
+ <method name="set_photo_profile"
673
+ c:identifier="clutter_gst_camera_set_photo_profile">
674
+ <doc xml:space="preserve">Set the encoding profile to be used for photo captures.
675
+ The default profile saves photos as JPEG images.</doc>
676
+ <return-value transfer-ownership="none">
677
+ <type name="none" c:type="void"/>
678
+ </return-value>
679
+ <parameters>
680
+ <instance-parameter name="self" transfer-ownership="none">
681
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
682
+ <type name="Camera" c:type="ClutterGstCamera*"/>
683
+ </instance-parameter>
684
+ <parameter name="profile" transfer-ownership="none">
685
+ <doc xml:space="preserve">A #GstEncodingProfile to be used for photo captures.</doc>
686
+ <type name="GstPbutils.EncodingProfile"
687
+ c:type="GstEncodingProfile*"/>
688
+ </parameter>
689
+ </parameters>
690
+ </method>
691
+ <method name="set_saturation"
692
+ c:identifier="clutter_gst_camera_set_saturation">
693
+ <return-value transfer-ownership="none">
694
+ <type name="gboolean" c:type="gboolean"/>
695
+ </return-value>
696
+ <parameters>
697
+ <instance-parameter name="self" transfer-ownership="none">
698
+ <type name="Camera" c:type="ClutterGstCamera*"/>
699
+ </instance-parameter>
700
+ <parameter name="value" transfer-ownership="none">
701
+ <type name="gdouble" c:type="gdouble"/>
702
+ </parameter>
703
+ </parameters>
704
+ </method>
705
+ <method name="set_video_profile"
706
+ c:identifier="clutter_gst_camera_set_video_profile">
707
+ <doc xml:space="preserve">Set the encoding profile to be used for video recording.
708
+ The default profile saves videos as Ogg/Theora videos.</doc>
709
+ <return-value transfer-ownership="none">
710
+ <type name="none" c:type="void"/>
711
+ </return-value>
712
+ <parameters>
713
+ <instance-parameter name="self" transfer-ownership="none">
714
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
715
+ <type name="Camera" c:type="ClutterGstCamera*"/>
716
+ </instance-parameter>
717
+ <parameter name="profile" transfer-ownership="none">
718
+ <doc xml:space="preserve">A #GstEncodingProfile to be used for video recording.</doc>
719
+ <type name="GstPbutils.EncodingProfile"
720
+ c:type="GstEncodingProfile*"/>
721
+ </parameter>
722
+ </parameters>
723
+ </method>
724
+ <method name="start_video_recording"
725
+ c:identifier="clutter_gst_camera_start_video_recording">
726
+ <doc xml:space="preserve">Start a video recording with the @self and save it to @filename.
727
+ This method requires that @self is playing and ready for capture.
728
+
729
+ The ::video-saved signal will be emitted when the video is saved.</doc>
730
+ <return-value transfer-ownership="none">
731
+ <doc xml:space="preserve">%TRUE if the video recording was successfully started, %FALSE otherwise</doc>
732
+ <type name="gboolean" c:type="gboolean"/>
733
+ </return-value>
734
+ <parameters>
735
+ <instance-parameter name="self" transfer-ownership="none">
736
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
737
+ <type name="Camera" c:type="ClutterGstCamera*"/>
738
+ </instance-parameter>
739
+ <parameter name="filename" transfer-ownership="none">
740
+ <doc xml:space="preserve">the name of the video file to where the
741
+ recording will be saved</doc>
742
+ <type name="filename" c:type="gchar*"/>
743
+ </parameter>
744
+ </parameters>
745
+ </method>
746
+ <method name="stop_video_recording"
747
+ c:identifier="clutter_gst_camera_stop_video_recording">
748
+ <doc xml:space="preserve">Stop recording video on the @self.</doc>
749
+ <return-value transfer-ownership="none">
750
+ <type name="none" c:type="void"/>
751
+ </return-value>
752
+ <parameters>
753
+ <instance-parameter name="self" transfer-ownership="none">
754
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
755
+ <type name="Camera" c:type="ClutterGstCamera*"/>
756
+ </instance-parameter>
757
+ </parameters>
758
+ </method>
759
+ <method name="supports_color_balance"
760
+ c:identifier="clutter_gst_camera_supports_color_balance">
761
+ <doc xml:space="preserve">Check whether the @self supports color balance.</doc>
762
+ <return-value transfer-ownership="none">
763
+ <doc xml:space="preserve">%TRUE if @self supports color balance, %FALSE otherwise</doc>
764
+ <type name="gboolean" c:type="gboolean"/>
765
+ </return-value>
766
+ <parameters>
767
+ <instance-parameter name="self" transfer-ownership="none">
768
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
769
+ <type name="Camera" c:type="ClutterGstCamera*"/>
770
+ </instance-parameter>
771
+ </parameters>
772
+ </method>
773
+ <method name="supports_gamma_correction"
774
+ c:identifier="clutter_gst_camera_supports_gamma_correction">
775
+ <doc xml:space="preserve">Check whether the @self supports gamma correction.</doc>
776
+ <return-value transfer-ownership="none">
777
+ <doc xml:space="preserve">%TRUE if @self supports gamma correction, %FALSE otherwise</doc>
778
+ <type name="gboolean" c:type="gboolean"/>
779
+ </return-value>
780
+ <parameters>
781
+ <instance-parameter name="self" transfer-ownership="none">
782
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
783
+ <type name="Camera" c:type="ClutterGstCamera*"/>
784
+ </instance-parameter>
785
+ </parameters>
786
+ </method>
787
+ <method name="take_photo" c:identifier="clutter_gst_camera_take_photo">
788
+ <doc xml:space="preserve">Take a photo with the @self and save it to @filename.
789
+ This method requires that @self is playing and ready for capture.
790
+
791
+ The ::photo-saved signal will be emitted when the video is saved.</doc>
792
+ <return-value transfer-ownership="none">
793
+ <doc xml:space="preserve">%TRUE if the photo was successfully captured, %FALSE otherwise</doc>
794
+ <type name="gboolean" c:type="gboolean"/>
795
+ </return-value>
796
+ <parameters>
797
+ <instance-parameter name="self" transfer-ownership="none">
798
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
799
+ <type name="Camera" c:type="ClutterGstCamera*"/>
800
+ </instance-parameter>
801
+ <parameter name="filename" transfer-ownership="none">
802
+ <doc xml:space="preserve">the name of the file to where the
803
+ photo will be saved</doc>
804
+ <type name="filename" c:type="gchar*"/>
805
+ </parameter>
806
+ </parameters>
807
+ </method>
808
+ <method name="take_photo_pixbuf"
809
+ c:identifier="clutter_gst_camera_take_photo_pixbuf">
810
+ <doc xml:space="preserve">Take a photo with the @self and emit it in the ::photo-taken signal as a
811
+ #GdkPixbuf.
812
+ This method requires that @self is playing and ready for capture.</doc>
813
+ <return-value transfer-ownership="none">
814
+ <doc xml:space="preserve">%TRUE if the photo was successfully captured, %FALSE otherwise</doc>
815
+ <type name="gboolean" c:type="gboolean"/>
816
+ </return-value>
817
+ <parameters>
818
+ <instance-parameter name="self" transfer-ownership="none">
819
+ <doc xml:space="preserve">a #ClutterGstCamera</doc>
820
+ <type name="Camera" c:type="ClutterGstCamera*"/>
821
+ </instance-parameter>
822
+ </parameters>
823
+ </method>
824
+ <property name="device" writable="1" transfer-ownership="none">
825
+ <type name="CameraDevice"/>
826
+ </property>
827
+ <field name="parent" readable="0" private="1">
828
+ <type name="GObject.Object" c:type="GObject"/>
829
+ </field>
830
+ <field name="priv" readable="0" private="1">
831
+ <type name="CameraPrivate" c:type="ClutterGstCameraPrivate*"/>
832
+ </field>
833
+ <glib:signal name="photo-saved" when="last" action="1">
834
+ <doc xml:space="preserve">The ::photo-saved signal is emitted when a photo was saved to disk.</doc>
835
+ <return-value transfer-ownership="none">
836
+ <type name="none" c:type="void"/>
837
+ </return-value>
838
+ </glib:signal>
839
+ <glib:signal name="photo-taken" when="last" action="1">
840
+ <doc xml:space="preserve">The ::photo-taken signal is emitted when a photo was taken.</doc>
841
+ <return-value transfer-ownership="none">
842
+ <type name="none" c:type="void"/>
843
+ </return-value>
844
+ <parameters>
845
+ <parameter name="pixbuf" transfer-ownership="none">
846
+ <doc xml:space="preserve">the photo taken as a #GdkPixbuf</doc>
847
+ <type name="GdkPixbuf.Pixbuf"/>
848
+ </parameter>
849
+ </parameters>
850
+ </glib:signal>
851
+ <glib:signal name="ready-for-capture" when="last">
852
+ <doc xml:space="preserve">The ::ready-for-capture signal is emitted whenever the value of
853
+ clutter_gst_camera_is_ready_for_capture changes.</doc>
854
+ <return-value transfer-ownership="none">
855
+ <type name="none" c:type="void"/>
856
+ </return-value>
857
+ <parameters>
858
+ <parameter name="ready" transfer-ownership="none">
859
+ <doc xml:space="preserve">whether the @self is ready for a new capture</doc>
860
+ <type name="gboolean" c:type="gboolean"/>
861
+ </parameter>
862
+ </parameters>
863
+ </glib:signal>
864
+ <glib:signal name="video-saved" when="last" action="1">
865
+ <doc xml:space="preserve">The ::video-saved signal is emitted when a video was saved to disk.</doc>
866
+ <return-value transfer-ownership="none">
867
+ <type name="none" c:type="void"/>
868
+ </return-value>
869
+ </glib:signal>
870
+ </class>
871
+ <record name="CameraClass"
872
+ c:type="ClutterGstCameraClass"
873
+ glib:is-gtype-struct-for="Camera">
874
+ <doc xml:space="preserve">Base class for #ClutterGstCamera.</doc>
875
+ <field name="parent_class" readable="0" private="1">
876
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
877
+ </field>
878
+ <field name="ready_for_capture">
879
+ <callback name="ready_for_capture">
880
+ <return-value transfer-ownership="none">
881
+ <type name="none" c:type="void"/>
882
+ </return-value>
883
+ <parameters>
884
+ <parameter name="self" transfer-ownership="none">
885
+ <type name="Camera" c:type="ClutterGstCamera*"/>
886
+ </parameter>
887
+ <parameter name="ready" transfer-ownership="none">
888
+ <type name="gboolean" c:type="gboolean"/>
889
+ </parameter>
890
+ </parameters>
891
+ </callback>
892
+ </field>
893
+ <field name="photo_saved">
894
+ <callback name="photo_saved">
895
+ <return-value transfer-ownership="none">
896
+ <type name="none" c:type="void"/>
897
+ </return-value>
898
+ <parameters>
899
+ <parameter name="self" transfer-ownership="none">
900
+ <type name="Camera" c:type="ClutterGstCamera*"/>
901
+ </parameter>
902
+ </parameters>
903
+ </callback>
904
+ </field>
905
+ <field name="photo_taken">
906
+ <callback name="photo_taken">
907
+ <return-value transfer-ownership="none">
908
+ <type name="none" c:type="void"/>
909
+ </return-value>
910
+ <parameters>
911
+ <parameter name="self" transfer-ownership="none">
912
+ <type name="Camera" c:type="ClutterGstCamera*"/>
913
+ </parameter>
914
+ <parameter name="pixbuf" transfer-ownership="none">
915
+ <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
916
+ </parameter>
917
+ </parameters>
918
+ </callback>
919
+ </field>
920
+ <field name="video_saved">
921
+ <callback name="video_saved">
922
+ <return-value transfer-ownership="none">
923
+ <type name="none" c:type="void"/>
924
+ </return-value>
925
+ <parameters>
926
+ <parameter name="self" transfer-ownership="none">
927
+ <type name="Camera" c:type="ClutterGstCamera*"/>
928
+ </parameter>
929
+ </parameters>
930
+ </callback>
931
+ </field>
932
+ <field name="_clutter_reserved1" introspectable="0">
933
+ <callback name="_clutter_reserved1">
934
+ <return-value transfer-ownership="none">
935
+ <type name="none" c:type="void"/>
936
+ </return-value>
937
+ </callback>
938
+ </field>
939
+ <field name="_clutter_reserved2" introspectable="0">
940
+ <callback name="_clutter_reserved2">
941
+ <return-value transfer-ownership="none">
942
+ <type name="none" c:type="void"/>
943
+ </return-value>
944
+ </callback>
945
+ </field>
946
+ <field name="_clutter_reserved3" introspectable="0">
947
+ <callback name="_clutter_reserved3">
948
+ <return-value transfer-ownership="none">
949
+ <type name="none" c:type="void"/>
950
+ </return-value>
951
+ </callback>
952
+ </field>
953
+ <field name="_clutter_reserved4" introspectable="0">
954
+ <callback name="_clutter_reserved4">
955
+ <return-value transfer-ownership="none">
956
+ <type name="none" c:type="void"/>
957
+ </return-value>
958
+ </callback>
959
+ </field>
960
+ <field name="_clutter_reserved5" introspectable="0">
961
+ <callback name="_clutter_reserved5">
962
+ <return-value transfer-ownership="none">
963
+ <type name="none" c:type="void"/>
964
+ </return-value>
965
+ </callback>
966
+ </field>
967
+ <field name="_clutter_reserved6" introspectable="0">
968
+ <callback name="_clutter_reserved6">
969
+ <return-value transfer-ownership="none">
970
+ <type name="none" c:type="void"/>
971
+ </return-value>
972
+ </callback>
973
+ </field>
974
+ </record>
975
+ <class name="CameraDevice"
976
+ c:symbol-prefix="camera_device"
977
+ c:type="ClutterGstCameraDevice"
978
+ parent="GObject.Object"
979
+ glib:type-name="ClutterGstCameraDevice"
980
+ glib:get-type="clutter_gst_camera_device_get_type"
981
+ glib:type-struct="CameraDeviceClass">
982
+ <doc xml:space="preserve">GObject representing a camera device using GStreamer.
983
+
984
+ The #ClutterGstCameraDevice structure contains only private data and
985
+ should not be accessed directly.</doc>
986
+ <virtual-method name="capture_resolution_changed">
987
+ <return-value transfer-ownership="none">
988
+ <type name="none" c:type="void"/>
989
+ </return-value>
990
+ <parameters>
991
+ <instance-parameter name="device" transfer-ownership="none">
992
+ <type name="CameraDevice" c:type="ClutterGstCameraDevice*"/>
993
+ </instance-parameter>
994
+ <parameter name="width" transfer-ownership="none">
995
+ <type name="gint" c:type="gint"/>
996
+ </parameter>
997
+ <parameter name="height" transfer-ownership="none">
998
+ <type name="gint" c:type="gint"/>
999
+ </parameter>
1000
+ </parameters>
1001
+ </virtual-method>
1002
+ <method name="get_capture_resolution"
1003
+ c:identifier="clutter_gst_camera_device_get_capture_resolution">
1004
+ <doc xml:space="preserve">Retrieve the current capture resolution being used by @device.</doc>
1005
+ <return-value transfer-ownership="none">
1006
+ <type name="none" c:type="void"/>
1007
+ </return-value>
1008
+ <parameters>
1009
+ <instance-parameter name="device" transfer-ownership="none">
1010
+ <doc xml:space="preserve">a #ClutterGstCameraDevice</doc>
1011
+ <type name="CameraDevice" c:type="ClutterGstCameraDevice*"/>
1012
+ </instance-parameter>
1013
+ <parameter name="width" transfer-ownership="none">
1014
+ <doc xml:space="preserve">Pointer to store the current capture resolution width</doc>
1015
+ <type name="gint" c:type="gint*"/>
1016
+ </parameter>
1017
+ <parameter name="height" transfer-ownership="none">
1018
+ <doc xml:space="preserve">Pointer to store the current capture resolution height</doc>
1019
+ <type name="gint" c:type="gint*"/>
1020
+ </parameter>
1021
+ </parameters>
1022
+ </method>
1023
+ <method name="get_name"
1024
+ c:identifier="clutter_gst_camera_device_get_name">
1025
+ <doc xml:space="preserve">Retrieve the name of the @device.</doc>
1026
+ <return-value transfer-ownership="none">
1027
+ <doc xml:space="preserve">the device name.</doc>
1028
+ <type name="utf8" c:type="const gchar*"/>
1029
+ </return-value>
1030
+ <parameters>
1031
+ <instance-parameter name="device" transfer-ownership="none">
1032
+ <doc xml:space="preserve">a #ClutterGstCameraDevice</doc>
1033
+ <type name="CameraDevice" c:type="ClutterGstCameraDevice*"/>
1034
+ </instance-parameter>
1035
+ </parameters>
1036
+ </method>
1037
+ <method name="get_node"
1038
+ c:identifier="clutter_gst_camera_device_get_node">
1039
+ <doc xml:space="preserve">Retrieve the node (location) of the @device.</doc>
1040
+ <return-value transfer-ownership="none">
1041
+ <doc xml:space="preserve">the device node.</doc>
1042
+ <type name="utf8" c:type="const gchar*"/>
1043
+ </return-value>
1044
+ <parameters>
1045
+ <instance-parameter name="device" transfer-ownership="none">
1046
+ <doc xml:space="preserve">a #ClutterGstCameraDevice</doc>
1047
+ <type name="CameraDevice" c:type="ClutterGstCameraDevice*"/>
1048
+ </instance-parameter>
1049
+ </parameters>
1050
+ </method>
1051
+ <method name="get_supported_resolutions"
1052
+ c:identifier="clutter_gst_camera_device_get_supported_resolutions">
1053
+ <doc xml:space="preserve">Retrieve the supported resolutions of the @device.</doc>
1054
+ <return-value transfer-ownership="none">
1055
+ <doc xml:space="preserve">an array of #ClutterGstVideoResolution with the
1056
+ supported resolutions.</doc>
1057
+ <array name="GLib.PtrArray" c:type="const GPtrArray*">
1058
+ <type name="VideoResolution"/>
1059
+ </array>
1060
+ </return-value>
1061
+ <parameters>
1062
+ <instance-parameter name="device" transfer-ownership="none">
1063
+ <doc xml:space="preserve">a #ClutterGstCameraDevice</doc>
1064
+ <type name="CameraDevice" c:type="ClutterGstCameraDevice*"/>
1065
+ </instance-parameter>
1066
+ </parameters>
1067
+ </method>
1068
+ <method name="set_capture_resolution"
1069
+ c:identifier="clutter_gst_camera_device_set_capture_resolution">
1070
+ <doc xml:space="preserve">Set the capture resolution to be used by @device.</doc>
1071
+ <return-value transfer-ownership="none">
1072
+ <type name="none" c:type="void"/>
1073
+ </return-value>
1074
+ <parameters>
1075
+ <instance-parameter name="device" transfer-ownership="none">
1076
+ <doc xml:space="preserve">a #ClutterGstCameraDevice</doc>
1077
+ <type name="CameraDevice" c:type="ClutterGstCameraDevice*"/>
1078
+ </instance-parameter>
1079
+ <parameter name="width" transfer-ownership="none">
1080
+ <doc xml:space="preserve">The new capture resolution width to use</doc>
1081
+ <type name="gint" c:type="gint"/>
1082
+ </parameter>
1083
+ <parameter name="height" transfer-ownership="none">
1084
+ <doc xml:space="preserve">The new capture resolution height to use</doc>
1085
+ <type name="gint" c:type="gint"/>
1086
+ </parameter>
1087
+ </parameters>
1088
+ </method>
1089
+ <property name="element-factory"
1090
+ writable="1"
1091
+ construct-only="1"
1092
+ transfer-ownership="none">
1093
+ <doc xml:space="preserve">The GstElementFactory for this device.</doc>
1094
+ <type name="Gst.ElementFactory"/>
1095
+ </property>
1096
+ <property name="name"
1097
+ writable="1"
1098
+ construct-only="1"
1099
+ transfer-ownership="none">
1100
+ <doc xml:space="preserve">The device name.</doc>
1101
+ <type name="utf8" c:type="gchar*"/>
1102
+ </property>
1103
+ <property name="node"
1104
+ writable="1"
1105
+ construct-only="1"
1106
+ transfer-ownership="none">
1107
+ <doc xml:space="preserve">The device node.</doc>
1108
+ <type name="utf8" c:type="gchar*"/>
1109
+ </property>
1110
+ <field name="parent" readable="0" private="1">
1111
+ <type name="GObject.Object" c:type="GObject"/>
1112
+ </field>
1113
+ <field name="priv" readable="0" private="1">
1114
+ <type name="CameraDevicePrivate"
1115
+ c:type="ClutterGstCameraDevicePrivate*"/>
1116
+ </field>
1117
+ <glib:signal name="capture-resolution-changed" when="last">
1118
+ <doc xml:space="preserve">The ::capture-resolution-changed signal is emitted whenever the value of
1119
+ clutter_gst_camera_device_get_capture_resolution changes.</doc>
1120
+ <return-value transfer-ownership="none">
1121
+ <type name="none" c:type="void"/>
1122
+ </return-value>
1123
+ <parameters>
1124
+ <parameter name="width" transfer-ownership="none">
1125
+ <doc xml:space="preserve">The new width</doc>
1126
+ <type name="gint" c:type="gint"/>
1127
+ </parameter>
1128
+ <parameter name="height" transfer-ownership="none">
1129
+ <doc xml:space="preserve">The new height</doc>
1130
+ <type name="gint" c:type="gint"/>
1131
+ </parameter>
1132
+ </parameters>
1133
+ </glib:signal>
1134
+ </class>
1135
+ <record name="CameraDeviceClass"
1136
+ c:type="ClutterGstCameraDeviceClass"
1137
+ glib:is-gtype-struct-for="CameraDevice">
1138
+ <doc xml:space="preserve">Base class for #ClutterGstCameraDevice.</doc>
1139
+ <field name="parent_class" readable="0" private="1">
1140
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
1141
+ </field>
1142
+ <field name="capture_resolution_changed">
1143
+ <callback name="capture_resolution_changed">
1144
+ <return-value transfer-ownership="none">
1145
+ <type name="none" c:type="void"/>
1146
+ </return-value>
1147
+ <parameters>
1148
+ <parameter name="device" transfer-ownership="none">
1149
+ <type name="CameraDevice" c:type="ClutterGstCameraDevice*"/>
1150
+ </parameter>
1151
+ <parameter name="width" transfer-ownership="none">
1152
+ <type name="gint" c:type="gint"/>
1153
+ </parameter>
1154
+ <parameter name="height" transfer-ownership="none">
1155
+ <type name="gint" c:type="gint"/>
1156
+ </parameter>
1157
+ </parameters>
1158
+ </callback>
1159
+ </field>
1160
+ <field name="_clutter_reserved1" introspectable="0">
1161
+ <callback name="_clutter_reserved1">
1162
+ <return-value transfer-ownership="none">
1163
+ <type name="none" c:type="void"/>
1164
+ </return-value>
1165
+ </callback>
1166
+ </field>
1167
+ <field name="_clutter_reserved2" introspectable="0">
1168
+ <callback name="_clutter_reserved2">
1169
+ <return-value transfer-ownership="none">
1170
+ <type name="none" c:type="void"/>
1171
+ </return-value>
1172
+ </callback>
1173
+ </field>
1174
+ <field name="_clutter_reserved3" introspectable="0">
1175
+ <callback name="_clutter_reserved3">
1176
+ <return-value transfer-ownership="none">
1177
+ <type name="none" c:type="void"/>
1178
+ </return-value>
1179
+ </callback>
1180
+ </field>
1181
+ <field name="_clutter_reserved4" introspectable="0">
1182
+ <callback name="_clutter_reserved4">
1183
+ <return-value transfer-ownership="none">
1184
+ <type name="none" c:type="void"/>
1185
+ </return-value>
1186
+ </callback>
1187
+ </field>
1188
+ <field name="_clutter_reserved5" introspectable="0">
1189
+ <callback name="_clutter_reserved5">
1190
+ <return-value transfer-ownership="none">
1191
+ <type name="none" c:type="void"/>
1192
+ </return-value>
1193
+ </callback>
1194
+ </field>
1195
+ <field name="_clutter_reserved6" introspectable="0">
1196
+ <callback name="_clutter_reserved6">
1197
+ <return-value transfer-ownership="none">
1198
+ <type name="none" c:type="void"/>
1199
+ </return-value>
1200
+ </callback>
1201
+ </field>
1202
+ </record>
1203
+ <record name="CameraDevicePrivate"
1204
+ c:type="ClutterGstCameraDevicePrivate"
1205
+ disguised="1">
1206
+ </record>
1207
+ <class name="CameraManager"
1208
+ c:symbol-prefix="camera_manager"
1209
+ c:type="ClutterGstCameraManager"
1210
+ parent="GObject.Object"
1211
+ glib:type-name="ClutterGstCameraManager"
1212
+ glib:get-type="clutter_gst_camera_manager_get_type"
1213
+ glib:type-struct="CameraManagerClass">
1214
+ <doc xml:space="preserve">An object to list available cameras on the system.
1215
+
1216
+ The #ClutterGstCameraManager structure contains only private data and
1217
+ should not be accessed directly.</doc>
1218
+ <function name="get_default"
1219
+ c:identifier="clutter_gst_camera_manager_get_default">
1220
+ <doc xml:space="preserve">Get the camera manager.
1221
+
1222
+ &lt;note&gt;This function has to be called from Clutter's main
1223
+ thread.&lt;/note&gt;</doc>
1224
+ <return-value transfer-ownership="none">
1225
+ <doc xml:space="preserve">the default camera manager.</doc>
1226
+ <type name="CameraManager" c:type="ClutterGstCameraManager*"/>
1227
+ </return-value>
1228
+ </function>
1229
+ <method name="get_camera_devices"
1230
+ c:identifier="clutter_gst_camera_manager_get_camera_devices">
1231
+ <doc xml:space="preserve">Retrieve an array of supported camera devices.</doc>
1232
+ <return-value transfer-ownership="none">
1233
+ <doc xml:space="preserve">An array of #ClutterGstCameraDevice representing
1234
+ the supported camera devices</doc>
1235
+ <array name="GLib.PtrArray" c:type="const GPtrArray*">
1236
+ <type name="CameraDevice"/>
1237
+ </array>
1238
+ </return-value>
1239
+ <parameters>
1240
+ <instance-parameter name="self" transfer-ownership="none">
1241
+ <doc xml:space="preserve">a #ClutterGstCameraManager</doc>
1242
+ <type name="CameraManager" c:type="ClutterGstCameraManager*"/>
1243
+ </instance-parameter>
1244
+ </parameters>
1245
+ </method>
1246
+ <field name="parent" readable="0" private="1">
1247
+ <type name="GObject.Object" c:type="GObject"/>
1248
+ </field>
1249
+ <field name="priv" readable="0" private="1">
1250
+ <type name="CameraManagerPrivate"
1251
+ c:type="ClutterGstCameraManagerPrivate*"/>
1252
+ </field>
1253
+ <glib:signal name="camera-added" when="last">
1254
+ <doc xml:space="preserve">The ::camera-added signal is emitted whenever a new camera device
1255
+ is available.</doc>
1256
+ <return-value transfer-ownership="none">
1257
+ <type name="none" c:type="void"/>
1258
+ </return-value>
1259
+ <parameters>
1260
+ <parameter name="camera_device" transfer-ownership="none">
1261
+ <doc xml:space="preserve">a camera device added</doc>
1262
+ <type name="CameraDevice"/>
1263
+ </parameter>
1264
+ </parameters>
1265
+ </glib:signal>
1266
+ <glib:signal name="camera-removed" when="last">
1267
+ <doc xml:space="preserve">The ::camera-removed signal is emitted whenever a camera device
1268
+ is unplugged/removed from the system.</doc>
1269
+ <return-value transfer-ownership="none">
1270
+ <type name="none" c:type="void"/>
1271
+ </return-value>
1272
+ <parameters>
1273
+ <parameter name="camera_device" transfer-ownership="none">
1274
+ <doc xml:space="preserve">a camera device</doc>
1275
+ <type name="CameraDevice"/>
1276
+ </parameter>
1277
+ </parameters>
1278
+ </glib:signal>
1279
+ </class>
1280
+ <record name="CameraManagerClass"
1281
+ c:type="ClutterGstCameraManagerClass"
1282
+ glib:is-gtype-struct-for="CameraManager">
1283
+ <doc xml:space="preserve">Base class for #ClutterGstCamera.</doc>
1284
+ <field name="parent_class" readable="0" private="1">
1285
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
1286
+ </field>
1287
+ </record>
1288
+ <record name="CameraManagerPrivate"
1289
+ c:type="ClutterGstCameraManagerPrivate"
1290
+ disguised="1">
1291
+ </record>
1292
+ <record name="CameraPrivate"
1293
+ c:type="ClutterGstCameraPrivate"
1294
+ disguised="1">
1295
+ </record>
1296
+ <class name="Content"
1297
+ c:symbol-prefix="content"
1298
+ c:type="ClutterGstContent"
1299
+ version="0.0"
1300
+ parent="GObject.Object"
1301
+ glib:type-name="ClutterGstContent"
1302
+ glib:get-type="clutter_gst_content_get_type"
1303
+ glib:type-struct="ContentClass">
1304
+ <doc xml:space="preserve">The #ClutterGstContent structure contains only private data
1305
+ and should be accessed using the provided API</doc>
1306
+ <implements name="Clutter.Content"/>
1307
+ <function name="new" c:identifier="clutter_gst_content_new">
1308
+ <return-value transfer-ownership="full">
1309
+ <doc xml:space="preserve">a new #ClutterGstContent instance</doc>
1310
+ <type name="Clutter.Content" c:type="ClutterContent*"/>
1311
+ </return-value>
1312
+ </function>
1313
+ <function name="new_with_sink"
1314
+ c:identifier="clutter_gst_content_new_with_sink"
1315
+ version="3.0">
1316
+ <return-value transfer-ownership="full">
1317
+ <doc xml:space="preserve">a new #ClutterGstContent instance</doc>
1318
+ <type name="Clutter.Content" c:type="ClutterContent*"/>
1319
+ </return-value>
1320
+ <parameters>
1321
+ <parameter name="sink" transfer-ownership="none">
1322
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
1323
+ </parameter>
1324
+ </parameters>
1325
+ </function>
1326
+ <virtual-method name="has_painting_content">
1327
+ <return-value transfer-ownership="none">
1328
+ <type name="gboolean" c:type="gboolean"/>
1329
+ </return-value>
1330
+ <parameters>
1331
+ <instance-parameter name="self" transfer-ownership="none">
1332
+ <type name="Content" c:type="ClutterGstContent*"/>
1333
+ </instance-parameter>
1334
+ </parameters>
1335
+ </virtual-method>
1336
+ <method name="get_frame"
1337
+ c:identifier="clutter_gst_content_get_frame"
1338
+ version="3.0">
1339
+ <return-value transfer-ownership="none">
1340
+ <doc xml:space="preserve">The #ClutterGstFrame currently attached to @self.</doc>
1341
+ <type name="Frame" c:type="ClutterGstFrame*"/>
1342
+ </return-value>
1343
+ <parameters>
1344
+ <instance-parameter name="self" transfer-ownership="none">
1345
+ <doc xml:space="preserve">A #ClutterGstContent</doc>
1346
+ <type name="Content" c:type="ClutterGstContent*"/>
1347
+ </instance-parameter>
1348
+ </parameters>
1349
+ </method>
1350
+ <method name="get_overlays"
1351
+ c:identifier="clutter_gst_content_get_overlays"
1352
+ version="3.0">
1353
+ <return-value transfer-ownership="none">
1354
+ <doc xml:space="preserve">The #ClutterGstOverlays currently attached to @self.</doc>
1355
+ <type name="Overlays" c:type="ClutterGstOverlays*"/>
1356
+ </return-value>
1357
+ <parameters>
1358
+ <instance-parameter name="self" transfer-ownership="none">
1359
+ <doc xml:space="preserve">A #ClutterGstContent</doc>
1360
+ <type name="Content" c:type="ClutterGstContent*"/>
1361
+ </instance-parameter>
1362
+ </parameters>
1363
+ </method>
1364
+ <method name="get_player"
1365
+ c:identifier="clutter_gst_content_get_player"
1366
+ version="3.0">
1367
+ <return-value transfer-ownership="none">
1368
+ <doc xml:space="preserve">The #ClutterGstPlayer currently attached to @self.</doc>
1369
+ <type name="Player" c:type="ClutterGstPlayer*"/>
1370
+ </return-value>
1371
+ <parameters>
1372
+ <instance-parameter name="self" transfer-ownership="none">
1373
+ <doc xml:space="preserve">A #ClutterGstContent</doc>
1374
+ <type name="Content" c:type="ClutterGstContent*"/>
1375
+ </instance-parameter>
1376
+ </parameters>
1377
+ </method>
1378
+ <method name="get_sink"
1379
+ c:identifier="clutter_gst_content_get_sink"
1380
+ version="3.0">
1381
+ <return-value transfer-ownership="none">
1382
+ <doc xml:space="preserve">The #ClutterGstVideoSink currently attached to @self.</doc>
1383
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
1384
+ </return-value>
1385
+ <parameters>
1386
+ <instance-parameter name="self" transfer-ownership="none">
1387
+ <doc xml:space="preserve">A #ClutterGstContent</doc>
1388
+ <type name="Content" c:type="ClutterGstContent*"/>
1389
+ </instance-parameter>
1390
+ </parameters>
1391
+ </method>
1392
+ <method name="set_frame"
1393
+ c:identifier="clutter_gst_content_set_frame"
1394
+ version="3.0">
1395
+ <doc xml:space="preserve">Set the current frame.</doc>
1396
+ <return-value transfer-ownership="none">
1397
+ <type name="none" c:type="void"/>
1398
+ </return-value>
1399
+ <parameters>
1400
+ <instance-parameter name="self" transfer-ownership="none">
1401
+ <doc xml:space="preserve">A #ClutterGstContent</doc>
1402
+ <type name="Content" c:type="ClutterGstContent*"/>
1403
+ </instance-parameter>
1404
+ <parameter name="frame" transfer-ownership="none">
1405
+ <doc xml:space="preserve">A #ClutterGstFrame</doc>
1406
+ <type name="Frame" c:type="ClutterGstFrame*"/>
1407
+ </parameter>
1408
+ </parameters>
1409
+ </method>
1410
+ <method name="set_player"
1411
+ c:identifier="clutter_gst_content_set_player"
1412
+ version="3.0">
1413
+ <return-value transfer-ownership="none">
1414
+ <type name="none" c:type="void"/>
1415
+ </return-value>
1416
+ <parameters>
1417
+ <instance-parameter name="self" transfer-ownership="none">
1418
+ <doc xml:space="preserve">A #ClutterGstContent</doc>
1419
+ <type name="Content" c:type="ClutterGstContent*"/>
1420
+ </instance-parameter>
1421
+ <parameter name="player" transfer-ownership="none">
1422
+ <doc xml:space="preserve">A #ClutterGstPlayer or %NULL</doc>
1423
+ <type name="Player" c:type="ClutterGstPlayer*"/>
1424
+ </parameter>
1425
+ </parameters>
1426
+ </method>
1427
+ <method name="set_sink"
1428
+ c:identifier="clutter_gst_content_set_sink"
1429
+ version="3.0">
1430
+ <return-value transfer-ownership="none">
1431
+ <type name="none" c:type="void"/>
1432
+ </return-value>
1433
+ <parameters>
1434
+ <instance-parameter name="self" transfer-ownership="none">
1435
+ <doc xml:space="preserve">A #ClutterGstContent</doc>
1436
+ <type name="Content" c:type="ClutterGstContent*"/>
1437
+ </instance-parameter>
1438
+ <parameter name="sink" transfer-ownership="none">
1439
+ <doc xml:space="preserve">A #ClutterGstVideoSink or %NULL</doc>
1440
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
1441
+ </parameter>
1442
+ </parameters>
1443
+ </method>
1444
+ <property name="frame" writable="1" transfer-ownership="none">
1445
+ <type name="Frame"/>
1446
+ </property>
1447
+ <property name="paint-frame" writable="1" transfer-ownership="none">
1448
+ <type name="gboolean" c:type="gboolean"/>
1449
+ </property>
1450
+ <property name="paint-overlays" writable="1" transfer-ownership="none">
1451
+ <type name="gboolean" c:type="gboolean"/>
1452
+ </property>
1453
+ <property name="player" writable="1" transfer-ownership="none">
1454
+ <type name="GObject.Object"/>
1455
+ </property>
1456
+ <property name="sink" writable="1" transfer-ownership="none">
1457
+ <type name="VideoSink"/>
1458
+ </property>
1459
+ <field name="parent" readable="0" private="1">
1460
+ <type name="GObject.Object" c:type="GObject"/>
1461
+ </field>
1462
+ <field name="priv" readable="0" private="1">
1463
+ <type name="ContentPrivate" c:type="ClutterGstContentPrivate*"/>
1464
+ </field>
1465
+ <glib:signal name="size-change" when="last">
1466
+ <doc xml:space="preserve">The ::size-change signal is emitted each time the video size changes.</doc>
1467
+ <return-value transfer-ownership="none">
1468
+ <type name="none" c:type="void"/>
1469
+ </return-value>
1470
+ <parameters>
1471
+ <parameter name="width" transfer-ownership="none">
1472
+ <doc xml:space="preserve">new width of the frames</doc>
1473
+ <type name="gint" c:type="gint"/>
1474
+ </parameter>
1475
+ <parameter name="height" transfer-ownership="none">
1476
+ <doc xml:space="preserve">new height of the frames</doc>
1477
+ <type name="gint" c:type="gint"/>
1478
+ </parameter>
1479
+ </parameters>
1480
+ </glib:signal>
1481
+ </class>
1482
+ <record name="ContentClass"
1483
+ c:type="ClutterGstContentClass"
1484
+ glib:is-gtype-struct-for="Content"
1485
+ version="0.0">
1486
+ <doc xml:space="preserve">The #ClutterGstContentClass structure contains only private data
1487
+ and should be accessed using the provided API</doc>
1488
+ <field name="parent_class" readable="0" private="1">
1489
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
1490
+ </field>
1491
+ <field name="has_painting_content">
1492
+ <callback name="has_painting_content">
1493
+ <return-value transfer-ownership="none">
1494
+ <type name="gboolean" c:type="gboolean"/>
1495
+ </return-value>
1496
+ <parameters>
1497
+ <parameter name="self" transfer-ownership="none">
1498
+ <type name="Content" c:type="ClutterGstContent*"/>
1499
+ </parameter>
1500
+ </parameters>
1501
+ </callback>
1502
+ </field>
1503
+ <field name="_padding_dummy" readable="0" private="1">
1504
+ <array zero-terminated="0" c:type="void" fixed-size="10">
1505
+ <type name="gpointer" c:type="void*"/>
1506
+ </array>
1507
+ </field>
1508
+ </record>
1509
+ <record name="ContentPrivate"
1510
+ c:type="ClutterGstContentPrivate"
1511
+ disguised="1">
1512
+ </record>
1513
+ <class name="Crop"
1514
+ c:symbol-prefix="crop"
1515
+ c:type="ClutterGstCrop"
1516
+ parent="Content"
1517
+ glib:type-name="ClutterGstCrop"
1518
+ glib:get-type="clutter_gst_crop_get_type"
1519
+ glib:type-struct="CropClass">
1520
+ <doc xml:space="preserve">Implementation of #ClutterGstContent that displays a sub region of
1521
+ video streams.
1522
+
1523
+ The #ClutterGstCrop structure contains only private data and
1524
+ should not be accessed directly.</doc>
1525
+ <implements name="Clutter.Content"/>
1526
+ <constructor name="new" c:identifier="clutter_gst_crop_new">
1527
+ <return-value transfer-ownership="full">
1528
+ <doc xml:space="preserve">a new #ClutterGstCrop instance</doc>
1529
+ <type name="Clutter.Actor" c:type="ClutterActor*"/>
1530
+ </return-value>
1531
+ </constructor>
1532
+ <property name="cull-backface"
1533
+ version="3.0"
1534
+ writable="1"
1535
+ transfer-ownership="none">
1536
+ <doc xml:space="preserve">Whether to cull the backface of the actor</doc>
1537
+ <type name="gboolean" c:type="gboolean"/>
1538
+ </property>
1539
+ <property name="input-region"
1540
+ version="3.0"
1541
+ writable="1"
1542
+ transfer-ownership="none">
1543
+ <doc xml:space="preserve">Input region in the video frame (all values between 0 and 1).</doc>
1544
+ <type name="Box"/>
1545
+ </property>
1546
+ <property name="output-region"
1547
+ version="3.0"
1548
+ writable="1"
1549
+ transfer-ownership="none">
1550
+ <doc xml:space="preserve">Output region in the actor's allocation (all values between 0 and 1).</doc>
1551
+ <type name="Box"/>
1552
+ </property>
1553
+ <property name="paint-borders"
1554
+ version="3.0"
1555
+ writable="1"
1556
+ transfer-ownership="none">
1557
+ <doc xml:space="preserve">Whether or not paint borders on the sides of the video</doc>
1558
+ <type name="gboolean" c:type="gboolean"/>
1559
+ </property>
1560
+ <field name="parent" readable="0" private="1">
1561
+ <type name="Content" c:type="ClutterGstContent"/>
1562
+ </field>
1563
+ <field name="priv" readable="0" private="1">
1564
+ <type name="CropPrivate" c:type="ClutterGstCropPrivate*"/>
1565
+ </field>
1566
+ </class>
1567
+ <record name="CropClass"
1568
+ c:type="ClutterGstCropClass"
1569
+ glib:is-gtype-struct-for="Crop">
1570
+ <doc xml:space="preserve">Base class for #ClutterGstCrop.</doc>
1571
+ <field name="parent_class" readable="0" private="1">
1572
+ <type name="ContentClass" c:type="ClutterGstContentClass"/>
1573
+ </field>
1574
+ <field name="_padding_dummy" readable="0" private="1">
1575
+ <array zero-terminated="0" c:type="void" fixed-size="8">
1576
+ <type name="gpointer" c:type="void*"/>
1577
+ </array>
1578
+ </field>
1579
+ </record>
1580
+ <record name="CropPrivate" c:type="ClutterGstCropPrivate" disguised="1">
1581
+ </record>
1582
+ <record name="Frame"
1583
+ c:type="ClutterGstFrame"
1584
+ version="3.0"
1585
+ glib:type-name="ClutterGstFrame"
1586
+ glib:get-type="clutter_gst_frame_get_type"
1587
+ c:symbol-prefix="frame">
1588
+ <doc xml:space="preserve">Represents a frame outputted by the #ClutterGstVideoSink.</doc>
1589
+ <field name="resolution" writable="1">
1590
+ <doc xml:space="preserve">a #ClutterGstVideoResolution</doc>
1591
+ <type name="VideoResolution" c:type="ClutterGstVideoResolution"/>
1592
+ </field>
1593
+ <field name="pipeline" introspectable="0" writable="1">
1594
+ <doc xml:space="preserve">a #CoglPipeline to paint a frame</doc>
1595
+ <type c:type="CoglPipeline*"/>
1596
+ </field>
1597
+ </record>
1598
+ <constant name="MAJOR_VERSION"
1599
+ value="3"
1600
+ c:type="CLUTTER_GST_MAJOR_VERSION">
1601
+ <doc xml:space="preserve">ClutterGst major version (e.g. "1", if %CLUTTER_GST_VERSION is "1.2.3")</doc>
1602
+ <type name="gint" c:type="gint"/>
1603
+ </constant>
1604
+ <constant name="MICRO_VERSION"
1605
+ value="0"
1606
+ c:type="CLUTTER_GST_MICRO_VERSION">
1607
+ <doc xml:space="preserve">ClutterGst micro version (e.g. "3", if %CLUTTER_GST_VERSION is "1.2.3")</doc>
1608
+ <type name="gint" c:type="gint"/>
1609
+ </constant>
1610
+ <constant name="MINOR_VERSION"
1611
+ value="0"
1612
+ c:type="CLUTTER_GST_MINOR_VERSION">
1613
+ <doc xml:space="preserve">ClutterGst minor version (e.g. "2", if %CLUTTER_GST_VERSION is "1.2.3")</doc>
1614
+ <type name="gint" c:type="gint"/>
1615
+ </constant>
1616
+ <record name="Overlay"
1617
+ c:type="ClutterGstOverlay"
1618
+ version="3.0"
1619
+ glib:type-name="ClutterGstOverlay"
1620
+ glib:get-type="clutter_gst_overlay_get_type"
1621
+ c:symbol-prefix="overlay">
1622
+ <doc xml:space="preserve">Represents a video overlay outputted by the #ClutterGstVideoSink.</doc>
1623
+ <field name="position" writable="1">
1624
+ <doc xml:space="preserve">a #ClutterGstBox representing the position of the
1625
+ overlay within a #ClutterGstFrame.</doc>
1626
+ <type name="Box" c:type="ClutterGstBox"/>
1627
+ </field>
1628
+ <field name="pipeline" introspectable="0" writable="1">
1629
+ <doc xml:space="preserve">a #CoglPipeline to paint an overlay</doc>
1630
+ <type c:type="CoglPipeline*"/>
1631
+ </field>
1632
+ </record>
1633
+ <record name="Overlays"
1634
+ c:type="ClutterGstOverlays"
1635
+ version="3.0"
1636
+ glib:type-name="ClutterGstOverlays"
1637
+ glib:get-type="clutter_gst_overlays_get_type"
1638
+ c:symbol-prefix="overlays">
1639
+ <field name="overlays" writable="1">
1640
+ <doc xml:space="preserve">an array of #ClutterGstOverlay</doc>
1641
+ <array name="GLib.PtrArray" c:type="GPtrArray*">
1642
+ <type name="gpointer" c:type="gpointer"/>
1643
+ </array>
1644
+ </field>
1645
+ </record>
1646
+ <class name="Playback"
1647
+ c:symbol-prefix="playback"
1648
+ c:type="ClutterGstPlayback"
1649
+ parent="GObject.Object"
1650
+ glib:type-name="ClutterGstPlayback"
1651
+ glib:get-type="clutter_gst_playback_get_type"
1652
+ glib:type-struct="PlaybackClass">
1653
+ <doc xml:space="preserve">Implementation of #ClutterGstPlayback that displays media streams
1654
+ using GStreamer.
1655
+
1656
+ The #ClutterGstPlayback structure contains only private data and
1657
+ should not be accessed directly.</doc>
1658
+ <implements name="Player"/>
1659
+ <constructor name="new" c:identifier="clutter_gst_playback_new">
1660
+ <return-value transfer-ownership="full">
1661
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1662
+ </return-value>
1663
+ </constructor>
1664
+ <virtual-method name="should_buffer">
1665
+ <return-value transfer-ownership="none">
1666
+ <type name="gboolean" c:type="gboolean"/>
1667
+ </return-value>
1668
+ <parameters>
1669
+ <instance-parameter name="self" transfer-ownership="none">
1670
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1671
+ </instance-parameter>
1672
+ <parameter name="query" transfer-ownership="none">
1673
+ <type name="Gst.Query" c:type="GstQuery*"/>
1674
+ </parameter>
1675
+ </parameters>
1676
+ </virtual-method>
1677
+ <method name="get_audio_stream"
1678
+ c:identifier="clutter_gst_playback_get_audio_stream"
1679
+ version="1.4">
1680
+ <doc xml:space="preserve">Get the current audio stream. The number returned in the index of the
1681
+ audio stream playing in the list returned by
1682
+ clutter_gst_playback_get_audio_streams().</doc>
1683
+ <return-value transfer-ownership="none">
1684
+ <doc xml:space="preserve">the index of the current audio stream, -1 if the media has no
1685
+ audio stream</doc>
1686
+ <type name="gint" c:type="gint"/>
1687
+ </return-value>
1688
+ <parameters>
1689
+ <instance-parameter name="self" transfer-ownership="none">
1690
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1691
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1692
+ </instance-parameter>
1693
+ </parameters>
1694
+ </method>
1695
+ <method name="get_audio_streams"
1696
+ c:identifier="clutter_gst_playback_get_audio_streams"
1697
+ version="1.4">
1698
+ <doc xml:space="preserve">Get the list of audio streams of the current media.</doc>
1699
+ <return-value transfer-ownership="none">
1700
+ <doc xml:space="preserve">a list of
1701
+ strings describing the available audio streams</doc>
1702
+ <type name="GLib.List" c:type="GList*">
1703
+ <type name="utf8"/>
1704
+ </type>
1705
+ </return-value>
1706
+ <parameters>
1707
+ <instance-parameter name="self" transfer-ownership="none">
1708
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1709
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1710
+ </instance-parameter>
1711
+ </parameters>
1712
+ </method>
1713
+ <method name="get_buffer_duration"
1714
+ c:identifier="clutter_gst_playback_get_buffer_duration">
1715
+ <doc xml:space="preserve">Retrieves the buffer duration when buffering network streams.</doc>
1716
+ <return-value transfer-ownership="none">
1717
+ <doc xml:space="preserve">The buffer duration</doc>
1718
+ <type name="gint64" c:type="gint64"/>
1719
+ </return-value>
1720
+ <parameters>
1721
+ <instance-parameter name="self" transfer-ownership="none">
1722
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1723
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1724
+ </instance-parameter>
1725
+ </parameters>
1726
+ </method>
1727
+ <method name="get_buffer_fill"
1728
+ c:identifier="clutter_gst_playback_get_buffer_fill">
1729
+ <doc xml:space="preserve">Retrieves the amount of the stream that is buffered.</doc>
1730
+ <return-value transfer-ownership="none">
1731
+ <doc xml:space="preserve">the fill level, between 0.0 and 1.0</doc>
1732
+ <type name="gdouble" c:type="gdouble"/>
1733
+ </return-value>
1734
+ <parameters>
1735
+ <instance-parameter name="self" transfer-ownership="none">
1736
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1737
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1738
+ </instance-parameter>
1739
+ </parameters>
1740
+ </method>
1741
+ <method name="get_buffer_size"
1742
+ c:identifier="clutter_gst_playback_get_buffer_size">
1743
+ <doc xml:space="preserve">Retrieves the buffer size when buffering network streams.</doc>
1744
+ <return-value transfer-ownership="none">
1745
+ <doc xml:space="preserve">The buffer size</doc>
1746
+ <type name="gint" c:type="gint"/>
1747
+ </return-value>
1748
+ <parameters>
1749
+ <instance-parameter name="self" transfer-ownership="none">
1750
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1751
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1752
+ </instance-parameter>
1753
+ </parameters>
1754
+ </method>
1755
+ <method name="get_buffering_mode"
1756
+ c:identifier="clutter_gst_playback_get_buffering_mode"
1757
+ version="1.4">
1758
+ <return-value transfer-ownership="none">
1759
+ <doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
1760
+ <type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
1761
+ </return-value>
1762
+ <parameters>
1763
+ <instance-parameter name="self" transfer-ownership="none">
1764
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1765
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1766
+ </instance-parameter>
1767
+ </parameters>
1768
+ </method>
1769
+ <method name="get_duration"
1770
+ c:identifier="clutter_gst_playback_get_duration">
1771
+ <doc xml:space="preserve">Retrieves the duration of the media stream that @self represents.</doc>
1772
+ <return-value transfer-ownership="none">
1773
+ <doc xml:space="preserve">the duration of the media stream, in seconds</doc>
1774
+ <type name="gdouble" c:type="gdouble"/>
1775
+ </return-value>
1776
+ <parameters>
1777
+ <instance-parameter name="self" transfer-ownership="none">
1778
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1779
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1780
+ </instance-parameter>
1781
+ </parameters>
1782
+ </method>
1783
+ <method name="get_in_seek"
1784
+ c:identifier="clutter_gst_playback_get_in_seek"
1785
+ version="1.6">
1786
+ <doc xml:space="preserve">Whether the player is seeking.</doc>
1787
+ <return-value transfer-ownership="none">
1788
+ <doc xml:space="preserve">TRUE if the player is seeking, FALSE otherwise.</doc>
1789
+ <type name="gboolean" c:type="gboolean"/>
1790
+ </return-value>
1791
+ <parameters>
1792
+ <instance-parameter name="self" transfer-ownership="none">
1793
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1794
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1795
+ </instance-parameter>
1796
+ </parameters>
1797
+ </method>
1798
+ <method name="get_position"
1799
+ c:identifier="clutter_gst_playback_get_position">
1800
+ <doc xml:space="preserve">Retrieves the position in the media stream that @self represents.</doc>
1801
+ <return-value transfer-ownership="none">
1802
+ <doc xml:space="preserve">the position in the media stream, in seconds</doc>
1803
+ <type name="gdouble" c:type="gdouble"/>
1804
+ </return-value>
1805
+ <parameters>
1806
+ <instance-parameter name="self" transfer-ownership="none">
1807
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1808
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1809
+ </instance-parameter>
1810
+ </parameters>
1811
+ </method>
1812
+ <method name="get_progress"
1813
+ c:identifier="clutter_gst_playback_get_progress">
1814
+ <doc xml:space="preserve">Retrieves the playback progress of @self.</doc>
1815
+ <return-value transfer-ownership="none">
1816
+ <doc xml:space="preserve">the playback progress, between 0.0 and 1.0</doc>
1817
+ <type name="gdouble" c:type="gdouble"/>
1818
+ </return-value>
1819
+ <parameters>
1820
+ <instance-parameter name="self" transfer-ownership="none">
1821
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1822
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1823
+ </instance-parameter>
1824
+ </parameters>
1825
+ </method>
1826
+ <method name="get_seek_flags"
1827
+ c:identifier="clutter_gst_playback_get_seek_flags"
1828
+ version="1.4">
1829
+ <doc xml:space="preserve">Get the current value of the seek-flags property.</doc>
1830
+ <return-value transfer-ownership="none">
1831
+ <doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
1832
+ <type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
1833
+ </return-value>
1834
+ <parameters>
1835
+ <instance-parameter name="self" transfer-ownership="none">
1836
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1837
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1838
+ </instance-parameter>
1839
+ </parameters>
1840
+ </method>
1841
+ <method name="get_subtitle_font_name"
1842
+ c:identifier="clutter_gst_playback_get_subtitle_font_name">
1843
+ <doc xml:space="preserve">Retrieves the font name currently used.</doc>
1844
+ <return-value transfer-ownership="full">
1845
+ <doc xml:space="preserve">a string containing the font name. Use g_free()
1846
+ to free the returned string</doc>
1847
+ <type name="utf8" c:type="gchar*"/>
1848
+ </return-value>
1849
+ <parameters>
1850
+ <instance-parameter name="self" transfer-ownership="none">
1851
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1852
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1853
+ </instance-parameter>
1854
+ </parameters>
1855
+ </method>
1856
+ <method name="get_subtitle_track"
1857
+ c:identifier="clutter_gst_playback_get_subtitle_track"
1858
+ version="1.4">
1859
+ <doc xml:space="preserve">Get the current subtitles track. The number returned is the index of the
1860
+ subtiles track in the list returned by
1861
+ clutter_gst_playback_get_subtitle_tracks().</doc>
1862
+ <return-value transfer-ownership="none">
1863
+ <doc xml:space="preserve">the index of the current subtitlest track, -1 if the media has
1864
+ no subtitles track or if the subtitles have been turned off</doc>
1865
+ <type name="gint" c:type="gint"/>
1866
+ </return-value>
1867
+ <parameters>
1868
+ <instance-parameter name="self" transfer-ownership="none">
1869
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1870
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1871
+ </instance-parameter>
1872
+ </parameters>
1873
+ </method>
1874
+ <method name="get_subtitle_tracks"
1875
+ c:identifier="clutter_gst_playback_get_subtitle_tracks"
1876
+ version="1.4">
1877
+ <doc xml:space="preserve">Get the list of subtitles tracks of the current media.</doc>
1878
+ <return-value transfer-ownership="none">
1879
+ <doc xml:space="preserve">a list of
1880
+ strings describing the available subtitles tracks</doc>
1881
+ <type name="GLib.List" c:type="GList*">
1882
+ <type name="utf8"/>
1883
+ </type>
1884
+ </return-value>
1885
+ <parameters>
1886
+ <instance-parameter name="self" transfer-ownership="none">
1887
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1888
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1889
+ </instance-parameter>
1890
+ </parameters>
1891
+ </method>
1892
+ <method name="get_subtitle_uri"
1893
+ c:identifier="clutter_gst_playback_get_subtitle_uri">
1894
+ <doc xml:space="preserve">Retrieves the URI of the subtitle file in use.</doc>
1895
+ <return-value transfer-ownership="full">
1896
+ <doc xml:space="preserve">the URI of the subtitle file. Use g_free()
1897
+ to free the returned string</doc>
1898
+ <type name="utf8" c:type="gchar*"/>
1899
+ </return-value>
1900
+ <parameters>
1901
+ <instance-parameter name="self" transfer-ownership="none">
1902
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1903
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1904
+ </instance-parameter>
1905
+ </parameters>
1906
+ </method>
1907
+ <method name="get_uri" c:identifier="clutter_gst_playback_get_uri">
1908
+ <doc xml:space="preserve">Retrieves the URI from @self.</doc>
1909
+ <return-value transfer-ownership="full">
1910
+ <doc xml:space="preserve">the URI of the media stream. Use g_free()
1911
+ to free the returned string</doc>
1912
+ <type name="utf8" c:type="gchar*"/>
1913
+ </return-value>
1914
+ <parameters>
1915
+ <instance-parameter name="self" transfer-ownership="none">
1916
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1917
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1918
+ </instance-parameter>
1919
+ </parameters>
1920
+ </method>
1921
+ <method name="get_user_agent"
1922
+ c:identifier="clutter_gst_playback_get_user_agent"
1923
+ version="1.4">
1924
+ <doc xml:space="preserve">Retrieves the user agent used when streaming.</doc>
1925
+ <return-value transfer-ownership="full">
1926
+ <doc xml:space="preserve">the user agent used. The returned string has to be freed with
1927
+ g_free()</doc>
1928
+ <type name="utf8" c:type="gchar*"/>
1929
+ </return-value>
1930
+ <parameters>
1931
+ <instance-parameter name="self" transfer-ownership="none">
1932
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1933
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1934
+ </instance-parameter>
1935
+ </parameters>
1936
+ </method>
1937
+ <method name="is_live_media"
1938
+ c:identifier="clutter_gst_playback_is_live_media">
1939
+ <doc xml:space="preserve">Whether the player is using a live media.</doc>
1940
+ <return-value transfer-ownership="none">
1941
+ <doc xml:space="preserve">TRUE if the player is using a live media, FALSE otherwise.</doc>
1942
+ <type name="gboolean" c:type="gboolean"/>
1943
+ </return-value>
1944
+ <parameters>
1945
+ <instance-parameter name="self" transfer-ownership="none">
1946
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1947
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1948
+ </instance-parameter>
1949
+ </parameters>
1950
+ </method>
1951
+ <method name="set_audio_stream"
1952
+ c:identifier="clutter_gst_playback_set_audio_stream"
1953
+ version="1.4">
1954
+ <doc xml:space="preserve">Set the audio stream to play. @index_ is the index of the stream
1955
+ in the list returned by clutter_gst_playback_get_audio_streams().</doc>
1956
+ <return-value transfer-ownership="none">
1957
+ <type name="none" c:type="void"/>
1958
+ </return-value>
1959
+ <parameters>
1960
+ <instance-parameter name="self" transfer-ownership="none">
1961
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1962
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1963
+ </instance-parameter>
1964
+ <parameter name="index_" transfer-ownership="none">
1965
+ <doc xml:space="preserve">the index of the audio stream</doc>
1966
+ <type name="gint" c:type="gint"/>
1967
+ </parameter>
1968
+ </parameters>
1969
+ </method>
1970
+ <method name="set_buffer_duration"
1971
+ c:identifier="clutter_gst_playback_set_buffer_duration">
1972
+ <doc xml:space="preserve">Sets the buffer duration to be used when buffering network streams.</doc>
1973
+ <return-value transfer-ownership="none">
1974
+ <type name="none" c:type="void"/>
1975
+ </return-value>
1976
+ <parameters>
1977
+ <instance-parameter name="self" transfer-ownership="none">
1978
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1979
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1980
+ </instance-parameter>
1981
+ <parameter name="duration" transfer-ownership="none">
1982
+ <doc xml:space="preserve">The new duration</doc>
1983
+ <type name="gint64" c:type="gint64"/>
1984
+ </parameter>
1985
+ </parameters>
1986
+ </method>
1987
+ <method name="set_buffer_size"
1988
+ c:identifier="clutter_gst_playback_set_buffer_size">
1989
+ <doc xml:space="preserve">Sets the buffer size to be used when buffering network streams.</doc>
1990
+ <return-value transfer-ownership="none">
1991
+ <type name="none" c:type="void"/>
1992
+ </return-value>
1993
+ <parameters>
1994
+ <instance-parameter name="self" transfer-ownership="none">
1995
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
1996
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
1997
+ </instance-parameter>
1998
+ <parameter name="size" transfer-ownership="none">
1999
+ <doc xml:space="preserve">The new size</doc>
2000
+ <type name="gint" c:type="gint"/>
2001
+ </parameter>
2002
+ </parameters>
2003
+ </method>
2004
+ <method name="set_buffering_mode"
2005
+ c:identifier="clutter_gst_playback_set_buffering_mode"
2006
+ version="1.4">
2007
+ <return-value transfer-ownership="none">
2008
+ <type name="none" c:type="void"/>
2009
+ </return-value>
2010
+ <parameters>
2011
+ <instance-parameter name="self" transfer-ownership="none">
2012
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
2013
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
2014
+ </instance-parameter>
2015
+ <parameter name="mode" transfer-ownership="none">
2016
+ <doc xml:space="preserve">a #ClutterGstBufferingMode</doc>
2017
+ <type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
2018
+ </parameter>
2019
+ </parameters>
2020
+ </method>
2021
+ <method name="set_filename"
2022
+ c:identifier="clutter_gst_playback_set_filename">
2023
+ <doc xml:space="preserve">Sets the source of @self using a file path.</doc>
2024
+ <return-value transfer-ownership="none">
2025
+ <type name="none" c:type="void"/>
2026
+ </return-value>
2027
+ <parameters>
2028
+ <instance-parameter name="self" transfer-ownership="none">
2029
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
2030
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
2031
+ </instance-parameter>
2032
+ <parameter name="filename" transfer-ownership="none">
2033
+ <doc xml:space="preserve">A filename</doc>
2034
+ <type name="utf8" c:type="const gchar*"/>
2035
+ </parameter>
2036
+ </parameters>
2037
+ </method>
2038
+ <method name="set_progress"
2039
+ c:identifier="clutter_gst_playback_set_progress">
2040
+ <doc xml:space="preserve">Sets the playback progress of @self. The @progress is
2041
+ a normalized value between 0.0 (begin) and 1.0 (end).</doc>
2042
+ <return-value transfer-ownership="none">
2043
+ <type name="none" c:type="void"/>
2044
+ </return-value>
2045
+ <parameters>
2046
+ <instance-parameter name="self" transfer-ownership="none">
2047
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
2048
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
2049
+ </instance-parameter>
2050
+ <parameter name="progress" transfer-ownership="none">
2051
+ <doc xml:space="preserve">the progress of the playback, between 0.0 and 1.0</doc>
2052
+ <type name="gdouble" c:type="gdouble"/>
2053
+ </parameter>
2054
+ </parameters>
2055
+ </method>
2056
+ <method name="set_seek_flags"
2057
+ c:identifier="clutter_gst_playback_set_seek_flags"
2058
+ version="1.4">
2059
+ <doc xml:space="preserve">Seeking can be done with several trade-offs. Clutter-gst defaults
2060
+ to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
2061
+ <return-value transfer-ownership="none">
2062
+ <type name="none" c:type="void"/>
2063
+ </return-value>
2064
+ <parameters>
2065
+ <instance-parameter name="self" transfer-ownership="none">
2066
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
2067
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
2068
+ </instance-parameter>
2069
+ <parameter name="flags" transfer-ownership="none">
2070
+ <doc xml:space="preserve">a combination of #ClutterGstSeekFlags</doc>
2071
+ <type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
2072
+ </parameter>
2073
+ </parameters>
2074
+ </method>
2075
+ <method name="set_subtitle_font_name"
2076
+ c:identifier="clutter_gst_playback_set_subtitle_font_name">
2077
+ <doc xml:space="preserve">Sets the font used by the subtitle renderer. The @font_name string must be
2078
+ either %NULL, which means that the default font name of the underlying
2079
+ implementation will be used; or must follow the grammar recognized by
2080
+ pango_font_description_from_string() like:
2081
+
2082
+ |[
2083
+ clutter_gst_playback_set_subtitle_font_name (player, "Sans 24pt");
2084
+ ]|</doc>
2085
+ <return-value transfer-ownership="none">
2086
+ <type name="none" c:type="void"/>
2087
+ </return-value>
2088
+ <parameters>
2089
+ <instance-parameter name="self" transfer-ownership="none">
2090
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
2091
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
2092
+ </instance-parameter>
2093
+ <parameter name="font_name" transfer-ownership="none">
2094
+ <doc xml:space="preserve">a font name, or %NULL to set the default font name</doc>
2095
+ <type name="utf8" c:type="const char*"/>
2096
+ </parameter>
2097
+ </parameters>
2098
+ </method>
2099
+ <method name="set_subtitle_track"
2100
+ c:identifier="clutter_gst_playback_set_subtitle_track"
2101
+ version="1.4">
2102
+ <doc xml:space="preserve">Set the subtitles track to play. @index_ is the index of the stream
2103
+ in the list returned by clutter_gst_playback_get_subtitle_tracks().
2104
+
2105
+ If @index_ is -1, the subtitles are turned off.</doc>
2106
+ <return-value transfer-ownership="none">
2107
+ <type name="none" c:type="void"/>
2108
+ </return-value>
2109
+ <parameters>
2110
+ <instance-parameter name="self" transfer-ownership="none">
2111
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
2112
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
2113
+ </instance-parameter>
2114
+ <parameter name="index_" transfer-ownership="none">
2115
+ <doc xml:space="preserve">the index of the subtitles track</doc>
2116
+ <type name="gint" c:type="gint"/>
2117
+ </parameter>
2118
+ </parameters>
2119
+ </method>
2120
+ <method name="set_subtitle_uri"
2121
+ c:identifier="clutter_gst_playback_set_subtitle_uri">
2122
+ <doc xml:space="preserve">Sets the location of a subtitle file to display while playing @self.</doc>
2123
+ <return-value transfer-ownership="none">
2124
+ <type name="none" c:type="void"/>
2125
+ </return-value>
2126
+ <parameters>
2127
+ <instance-parameter name="self" transfer-ownership="none">
2128
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
2129
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
2130
+ </instance-parameter>
2131
+ <parameter name="uri" transfer-ownership="none">
2132
+ <doc xml:space="preserve">the URI of a subtitle file</doc>
2133
+ <type name="utf8" c:type="const gchar*"/>
2134
+ </parameter>
2135
+ </parameters>
2136
+ </method>
2137
+ <method name="set_uri" c:identifier="clutter_gst_playback_set_uri">
2138
+ <doc xml:space="preserve">Sets the URI of @self to @uri.</doc>
2139
+ <return-value transfer-ownership="none">
2140
+ <type name="none" c:type="void"/>
2141
+ </return-value>
2142
+ <parameters>
2143
+ <instance-parameter name="self" transfer-ownership="none">
2144
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
2145
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
2146
+ </instance-parameter>
2147
+ <parameter name="uri" transfer-ownership="none">
2148
+ <doc xml:space="preserve">the URI of the media stream</doc>
2149
+ <type name="utf8" c:type="const gchar*"/>
2150
+ </parameter>
2151
+ </parameters>
2152
+ </method>
2153
+ <method name="set_user_agent"
2154
+ c:identifier="clutter_gst_playback_set_user_agent"
2155
+ version="1.4">
2156
+ <doc xml:space="preserve">Sets the user agent to use when streaming.
2157
+
2158
+ When streaming content, you might want to set a custom user agent, eg. to
2159
+ promote your software, make it appear in statistics or because the server
2160
+ requires a special user agent you want to impersonate.</doc>
2161
+ <return-value transfer-ownership="none">
2162
+ <type name="none" c:type="void"/>
2163
+ </return-value>
2164
+ <parameters>
2165
+ <instance-parameter name="self" transfer-ownership="none">
2166
+ <doc xml:space="preserve">a #ClutterGstPlayback</doc>
2167
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
2168
+ </instance-parameter>
2169
+ <parameter name="user_agent" transfer-ownership="none">
2170
+ <doc xml:space="preserve">the user agent</doc>
2171
+ <type name="utf8" c:type="const gchar*"/>
2172
+ </parameter>
2173
+ </parameters>
2174
+ </method>
2175
+ <property name="audio-stream"
2176
+ version="1.4"
2177
+ writable="1"
2178
+ transfer-ownership="none">
2179
+ <doc xml:space="preserve">Index of the current audio stream.</doc>
2180
+ <type name="gint" c:type="gint"/>
2181
+ </property>
2182
+ <property name="audio-streams" version="1.4" transfer-ownership="none">
2183
+ <doc xml:space="preserve">List of audio streams available on the current media.</doc>
2184
+ <type name="gpointer" c:type="gpointer"/>
2185
+ </property>
2186
+ <property name="buffer-fill" transfer-ownership="none">
2187
+ <doc xml:space="preserve">The fill level of the buffer for the current stream,
2188
+ as a value between 0.0 and 1.0.</doc>
2189
+ <type name="gdouble" c:type="gdouble"/>
2190
+ </property>
2191
+ <property name="can-seek" transfer-ownership="none">
2192
+ <doc xml:space="preserve">Whether the current stream is seekable.</doc>
2193
+ <type name="gboolean" c:type="gboolean"/>
2194
+ </property>
2195
+ <property name="duration" transfer-ownership="none">
2196
+ <doc xml:space="preserve">The duration of the current stream, in seconds</doc>
2197
+ <type name="gdouble" c:type="gdouble"/>
2198
+ </property>
2199
+ <property name="in-seek" version="1.6" transfer-ownership="none">
2200
+ <doc xml:space="preserve">Whether or not the stream is being seeked.</doc>
2201
+ <type name="gboolean" c:type="gboolean"/>
2202
+ </property>
2203
+ <property name="progress" writable="1" transfer-ownership="none">
2204
+ <doc xml:space="preserve">The current progress of the playback, as a normalized
2205
+ value between 0.0 and 1.0.</doc>
2206
+ <type name="gdouble" c:type="gdouble"/>
2207
+ </property>
2208
+ <property name="seek-flags"
2209
+ version="1.4"
2210
+ writable="1"
2211
+ transfer-ownership="none">
2212
+ <doc xml:space="preserve">Flags to use when seeking.</doc>
2213
+ <type name="SeekFlags"/>
2214
+ </property>
2215
+ <property name="subtitle-font-name"
2216
+ writable="1"
2217
+ transfer-ownership="none">
2218
+ <doc xml:space="preserve">The font used to display subtitles. The font description has to
2219
+ follow the same grammar as the one recognized by
2220
+ pango_font_description_from_string().</doc>
2221
+ <type name="utf8" c:type="gchar*"/>
2222
+ </property>
2223
+ <property name="subtitle-track"
2224
+ version="1.4"
2225
+ writable="1"
2226
+ transfer-ownership="none">
2227
+ <doc xml:space="preserve">Current subtitle track being displayed.</doc>
2228
+ <type name="gint" c:type="gint"/>
2229
+ </property>
2230
+ <property name="subtitle-tracks" version="1.4" transfer-ownership="none">
2231
+ <doc xml:space="preserve">List of subtitle tracks available.</doc>
2232
+ <type name="gpointer" c:type="gpointer"/>
2233
+ </property>
2234
+ <property name="subtitle-uri" writable="1" transfer-ownership="none">
2235
+ <doc xml:space="preserve">The location of a subtitle file, expressed as a valid URI.</doc>
2236
+ <type name="utf8" c:type="gchar*"/>
2237
+ </property>
2238
+ <property name="uri" writable="1" transfer-ownership="none">
2239
+ <doc xml:space="preserve">The location of a media file, expressed as a valid URI.</doc>
2240
+ <type name="utf8" c:type="gchar*"/>
2241
+ </property>
2242
+ <property name="user-agent"
2243
+ version="1.4"
2244
+ writable="1"
2245
+ transfer-ownership="none">
2246
+ <doc xml:space="preserve">The User Agent used by #ClutterGstPlayback with network protocols.</doc>
2247
+ <type name="utf8" c:type="gchar*"/>
2248
+ </property>
2249
+ <field name="parent">
2250
+ <type name="GObject.Object" c:type="GObject"/>
2251
+ </field>
2252
+ <field name="priv">
2253
+ <type name="PlaybackPrivate" c:type="ClutterGstPlaybackPrivate*"/>
2254
+ </field>
2255
+ <glib:signal name="should-buffer" when="last" version="1.4">
2256
+ <doc xml:space="preserve">The ::should-buffer signal is emitted every time the base class needs to
2257
+ decide whether it should continue buffering in download-buffering mode.</doc>
2258
+ <return-value transfer-ownership="none">
2259
+ <type name="gboolean" c:type="gboolean"/>
2260
+ </return-value>
2261
+ <parameters>
2262
+ <parameter name="query" transfer-ownership="none">
2263
+ <doc xml:space="preserve">A gst buffering query of format bytes</doc>
2264
+ <type name="Gst.Query"/>
2265
+ </parameter>
2266
+ </parameters>
2267
+ </glib:signal>
2268
+ </class>
2269
+ <record name="PlaybackClass"
2270
+ c:type="ClutterGstPlaybackClass"
2271
+ glib:is-gtype-struct-for="Playback">
2272
+ <doc xml:space="preserve">Base class for #ClutterGstPlayback.</doc>
2273
+ <field name="parent_class" readable="0" private="1">
2274
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
2275
+ </field>
2276
+ <field name="should_buffer">
2277
+ <callback name="should_buffer">
2278
+ <return-value transfer-ownership="none">
2279
+ <type name="gboolean" c:type="gboolean"/>
2280
+ </return-value>
2281
+ <parameters>
2282
+ <parameter name="self" transfer-ownership="none">
2283
+ <type name="Playback" c:type="ClutterGstPlayback*"/>
2284
+ </parameter>
2285
+ <parameter name="query" transfer-ownership="none">
2286
+ <type name="Gst.Query" c:type="GstQuery*"/>
2287
+ </parameter>
2288
+ </parameters>
2289
+ </callback>
2290
+ </field>
2291
+ </record>
2292
+ <record name="PlaybackPrivate"
2293
+ c:type="ClutterGstPlaybackPrivate"
2294
+ disguised="1">
2295
+ </record>
2296
+ <interface name="Player"
2297
+ c:symbol-prefix="player"
2298
+ c:type="ClutterGstPlayer"
2299
+ version="1.4"
2300
+ glib:type-name="ClutterGstPlayer"
2301
+ glib:get-type="clutter_gst_player_get_type"
2302
+ glib:type-struct="PlayerIface">
2303
+ <doc xml:space="preserve">#ClutterGstPlayer is an opaque structure whose members cannot be
2304
+ directly accessed</doc>
2305
+ <virtual-method name="eos">
2306
+ <return-value transfer-ownership="none">
2307
+ <type name="none" c:type="void"/>
2308
+ </return-value>
2309
+ <parameters>
2310
+ <instance-parameter name="self" transfer-ownership="none">
2311
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2312
+ </instance-parameter>
2313
+ </parameters>
2314
+ </virtual-method>
2315
+ <virtual-method name="error">
2316
+ <return-value transfer-ownership="none">
2317
+ <type name="none" c:type="void"/>
2318
+ </return-value>
2319
+ <parameters>
2320
+ <instance-parameter name="self" transfer-ownership="none">
2321
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2322
+ </instance-parameter>
2323
+ <parameter name="error" transfer-ownership="none">
2324
+ <type name="GLib.Error" c:type="const GError*"/>
2325
+ </parameter>
2326
+ </parameters>
2327
+ </virtual-method>
2328
+ <virtual-method name="get_audio_volume"
2329
+ invoker="get_audio_volume"
2330
+ version="3.0">
2331
+ <doc xml:space="preserve">Retrieves the playback volume of @self.</doc>
2332
+ <return-value transfer-ownership="none">
2333
+ <doc xml:space="preserve">The playback volume between 0.0 and 1.0</doc>
2334
+ <type name="gdouble" c:type="gdouble"/>
2335
+ </return-value>
2336
+ <parameters>
2337
+ <instance-parameter name="self" transfer-ownership="none">
2338
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2339
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2340
+ </instance-parameter>
2341
+ </parameters>
2342
+ </virtual-method>
2343
+ <virtual-method name="get_frame" invoker="get_frame" version="3.0">
2344
+ <doc xml:space="preserve">Retrieves the #ClutterGstFrame of the last frame produced by @self.</doc>
2345
+ <return-value transfer-ownership="none">
2346
+ <doc xml:space="preserve">the #ClutterGstFrame of the last frame.</doc>
2347
+ <type name="Frame" c:type="ClutterGstFrame*"/>
2348
+ </return-value>
2349
+ <parameters>
2350
+ <instance-parameter name="self" transfer-ownership="none">
2351
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2352
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2353
+ </instance-parameter>
2354
+ </parameters>
2355
+ </virtual-method>
2356
+ <virtual-method name="get_idle" invoker="get_idle" version="3.0">
2357
+ <doc xml:space="preserve">Get the idle state of the pipeline.</doc>
2358
+ <return-value transfer-ownership="none">
2359
+ <doc xml:space="preserve">TRUE if the pipline is in idle mode, FALSE otherwise.</doc>
2360
+ <type name="gboolean" c:type="gboolean"/>
2361
+ </return-value>
2362
+ <parameters>
2363
+ <instance-parameter name="self" transfer-ownership="none">
2364
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2365
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2366
+ </instance-parameter>
2367
+ </parameters>
2368
+ </virtual-method>
2369
+ <virtual-method name="get_pipeline" invoker="get_pipeline" version="3.0">
2370
+ <doc xml:space="preserve">Retrieves the #GstPipeline used by the @self, for direct use with
2371
+ GStreamer API.</doc>
2372
+ <return-value transfer-ownership="none">
2373
+ <doc xml:space="preserve">the #GstPipeline element used by the player</doc>
2374
+ <type name="Gst.Element" c:type="GstElement*"/>
2375
+ </return-value>
2376
+ <parameters>
2377
+ <instance-parameter name="self" transfer-ownership="none">
2378
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2379
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2380
+ </instance-parameter>
2381
+ </parameters>
2382
+ </virtual-method>
2383
+ <virtual-method name="get_playing" invoker="get_playing" version="3.0">
2384
+ <doc xml:space="preserve">Retrieves the playing status of @self.</doc>
2385
+ <return-value transfer-ownership="none">
2386
+ <doc xml:space="preserve">%TRUE if playing, %FALSE if stopped.</doc>
2387
+ <type name="gboolean" c:type="gboolean"/>
2388
+ </return-value>
2389
+ <parameters>
2390
+ <instance-parameter name="self" transfer-ownership="none">
2391
+ <doc xml:space="preserve">A #ClutterGstPlayer object</doc>
2392
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2393
+ </instance-parameter>
2394
+ </parameters>
2395
+ </virtual-method>
2396
+ <virtual-method name="get_video_sink"
2397
+ invoker="get_video_sink"
2398
+ version="3.0">
2399
+ <doc xml:space="preserve">Retrieves the #ClutterGstVideoSink used by the @self.</doc>
2400
+ <return-value transfer-ownership="none">
2401
+ <doc xml:space="preserve">the #ClutterGstVideoSink element used by the player</doc>
2402
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
2403
+ </return-value>
2404
+ <parameters>
2405
+ <instance-parameter name="self" transfer-ownership="none">
2406
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2407
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2408
+ </instance-parameter>
2409
+ </parameters>
2410
+ </virtual-method>
2411
+ <virtual-method name="new_frame">
2412
+ <return-value transfer-ownership="none">
2413
+ <type name="none" c:type="void"/>
2414
+ </return-value>
2415
+ <parameters>
2416
+ <instance-parameter name="self" transfer-ownership="none">
2417
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2418
+ </instance-parameter>
2419
+ <parameter name="frame" transfer-ownership="none">
2420
+ <type name="Frame" c:type="ClutterGstFrame*"/>
2421
+ </parameter>
2422
+ </parameters>
2423
+ </virtual-method>
2424
+ <virtual-method name="ready">
2425
+ <return-value transfer-ownership="none">
2426
+ <type name="none" c:type="void"/>
2427
+ </return-value>
2428
+ <parameters>
2429
+ <instance-parameter name="self" transfer-ownership="none">
2430
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2431
+ </instance-parameter>
2432
+ </parameters>
2433
+ </virtual-method>
2434
+ <virtual-method name="set_audio_volume"
2435
+ invoker="set_audio_volume"
2436
+ version="3.0">
2437
+ <doc xml:space="preserve">Sets the playback volume of @self to @volume.</doc>
2438
+ <return-value transfer-ownership="none">
2439
+ <type name="none" c:type="void"/>
2440
+ </return-value>
2441
+ <parameters>
2442
+ <instance-parameter name="self" transfer-ownership="none">
2443
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2444
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2445
+ </instance-parameter>
2446
+ <parameter name="volume" transfer-ownership="none">
2447
+ <doc xml:space="preserve">the volume as a double between 0.0 and 1.0</doc>
2448
+ <type name="gdouble" c:type="gdouble"/>
2449
+ </parameter>
2450
+ </parameters>
2451
+ </virtual-method>
2452
+ <virtual-method name="set_playing" invoker="set_playing" version="3.0">
2453
+ <doc xml:space="preserve">Starts or stops playing of @self.
2454
+
2455
+ The implementation might be asynchronous, so the way to know whether
2456
+ the actual playing state of the @self is to use the #GObject::notify
2457
+ signal on the #ClutterGstPlayer:playing property and then retrieve the
2458
+ current state with clutter_gst_player_get_playing(). ClutterGstVideoActor
2459
+ in clutter-gst is an example of such an asynchronous implementation.</doc>
2460
+ <return-value transfer-ownership="none">
2461
+ <type name="none" c:type="void"/>
2462
+ </return-value>
2463
+ <parameters>
2464
+ <instance-parameter name="self" transfer-ownership="none">
2465
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2466
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2467
+ </instance-parameter>
2468
+ <parameter name="playing" transfer-ownership="none">
2469
+ <doc xml:space="preserve">%TRUE to start playing</doc>
2470
+ <type name="gboolean" c:type="gboolean"/>
2471
+ </parameter>
2472
+ </parameters>
2473
+ </virtual-method>
2474
+ <virtual-method name="size_change">
2475
+ <return-value transfer-ownership="none">
2476
+ <type name="none" c:type="void"/>
2477
+ </return-value>
2478
+ <parameters>
2479
+ <instance-parameter name="self" transfer-ownership="none">
2480
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2481
+ </instance-parameter>
2482
+ <parameter name="width" transfer-ownership="none">
2483
+ <type name="gint" c:type="gint"/>
2484
+ </parameter>
2485
+ <parameter name="height" transfer-ownership="none">
2486
+ <type name="gint" c:type="gint"/>
2487
+ </parameter>
2488
+ </parameters>
2489
+ </virtual-method>
2490
+ <method name="get_audio_volume"
2491
+ c:identifier="clutter_gst_player_get_audio_volume"
2492
+ version="3.0">
2493
+ <doc xml:space="preserve">Retrieves the playback volume of @self.</doc>
2494
+ <return-value transfer-ownership="none">
2495
+ <doc xml:space="preserve">The playback volume between 0.0 and 1.0</doc>
2496
+ <type name="gdouble" c:type="gdouble"/>
2497
+ </return-value>
2498
+ <parameters>
2499
+ <instance-parameter name="self" transfer-ownership="none">
2500
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2501
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2502
+ </instance-parameter>
2503
+ </parameters>
2504
+ </method>
2505
+ <method name="get_frame"
2506
+ c:identifier="clutter_gst_player_get_frame"
2507
+ version="3.0">
2508
+ <doc xml:space="preserve">Retrieves the #ClutterGstFrame of the last frame produced by @self.</doc>
2509
+ <return-value transfer-ownership="none">
2510
+ <doc xml:space="preserve">the #ClutterGstFrame of the last frame.</doc>
2511
+ <type name="Frame" c:type="ClutterGstFrame*"/>
2512
+ </return-value>
2513
+ <parameters>
2514
+ <instance-parameter name="self" transfer-ownership="none">
2515
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2516
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2517
+ </instance-parameter>
2518
+ </parameters>
2519
+ </method>
2520
+ <method name="get_idle"
2521
+ c:identifier="clutter_gst_player_get_idle"
2522
+ version="3.0">
2523
+ <doc xml:space="preserve">Get the idle state of the pipeline.</doc>
2524
+ <return-value transfer-ownership="none">
2525
+ <doc xml:space="preserve">TRUE if the pipline is in idle mode, FALSE otherwise.</doc>
2526
+ <type name="gboolean" c:type="gboolean"/>
2527
+ </return-value>
2528
+ <parameters>
2529
+ <instance-parameter name="self" transfer-ownership="none">
2530
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2531
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2532
+ </instance-parameter>
2533
+ </parameters>
2534
+ </method>
2535
+ <method name="get_pipeline"
2536
+ c:identifier="clutter_gst_player_get_pipeline"
2537
+ version="3.0">
2538
+ <doc xml:space="preserve">Retrieves the #GstPipeline used by the @self, for direct use with
2539
+ GStreamer API.</doc>
2540
+ <return-value transfer-ownership="none">
2541
+ <doc xml:space="preserve">the #GstPipeline element used by the player</doc>
2542
+ <type name="Gst.Element" c:type="GstElement*"/>
2543
+ </return-value>
2544
+ <parameters>
2545
+ <instance-parameter name="self" transfer-ownership="none">
2546
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2547
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2548
+ </instance-parameter>
2549
+ </parameters>
2550
+ </method>
2551
+ <method name="get_playing"
2552
+ c:identifier="clutter_gst_player_get_playing"
2553
+ version="3.0">
2554
+ <doc xml:space="preserve">Retrieves the playing status of @self.</doc>
2555
+ <return-value transfer-ownership="none">
2556
+ <doc xml:space="preserve">%TRUE if playing, %FALSE if stopped.</doc>
2557
+ <type name="gboolean" c:type="gboolean"/>
2558
+ </return-value>
2559
+ <parameters>
2560
+ <instance-parameter name="self" transfer-ownership="none">
2561
+ <doc xml:space="preserve">A #ClutterGstPlayer object</doc>
2562
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2563
+ </instance-parameter>
2564
+ </parameters>
2565
+ </method>
2566
+ <method name="get_video_sink"
2567
+ c:identifier="clutter_gst_player_get_video_sink"
2568
+ version="3.0">
2569
+ <doc xml:space="preserve">Retrieves the #ClutterGstVideoSink used by the @self.</doc>
2570
+ <return-value transfer-ownership="none">
2571
+ <doc xml:space="preserve">the #ClutterGstVideoSink element used by the player</doc>
2572
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
2573
+ </return-value>
2574
+ <parameters>
2575
+ <instance-parameter name="self" transfer-ownership="none">
2576
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2577
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2578
+ </instance-parameter>
2579
+ </parameters>
2580
+ </method>
2581
+ <method name="set_audio_volume"
2582
+ c:identifier="clutter_gst_player_set_audio_volume"
2583
+ version="3.0">
2584
+ <doc xml:space="preserve">Sets the playback volume of @self to @volume.</doc>
2585
+ <return-value transfer-ownership="none">
2586
+ <type name="none" c:type="void"/>
2587
+ </return-value>
2588
+ <parameters>
2589
+ <instance-parameter name="self" transfer-ownership="none">
2590
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2591
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2592
+ </instance-parameter>
2593
+ <parameter name="volume" transfer-ownership="none">
2594
+ <doc xml:space="preserve">the volume as a double between 0.0 and 1.0</doc>
2595
+ <type name="gdouble" c:type="gdouble"/>
2596
+ </parameter>
2597
+ </parameters>
2598
+ </method>
2599
+ <method name="set_playing"
2600
+ c:identifier="clutter_gst_player_set_playing"
2601
+ version="3.0">
2602
+ <doc xml:space="preserve">Starts or stops playing of @self.
2603
+
2604
+ The implementation might be asynchronous, so the way to know whether
2605
+ the actual playing state of the @self is to use the #GObject::notify
2606
+ signal on the #ClutterGstPlayer:playing property and then retrieve the
2607
+ current state with clutter_gst_player_get_playing(). ClutterGstVideoActor
2608
+ in clutter-gst is an example of such an asynchronous implementation.</doc>
2609
+ <return-value transfer-ownership="none">
2610
+ <type name="none" c:type="void"/>
2611
+ </return-value>
2612
+ <parameters>
2613
+ <instance-parameter name="self" transfer-ownership="none">
2614
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2615
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2616
+ </instance-parameter>
2617
+ <parameter name="playing" transfer-ownership="none">
2618
+ <doc xml:space="preserve">%TRUE to start playing</doc>
2619
+ <type name="gboolean" c:type="gboolean"/>
2620
+ </parameter>
2621
+ </parameters>
2622
+ </method>
2623
+ <property name="audio-volume" writable="1" transfer-ownership="none">
2624
+ <doc xml:space="preserve">The volume of the audio, as a normalized value between
2625
+ 0.0 and 1.0.</doc>
2626
+ <type name="gdouble" c:type="gdouble"/>
2627
+ </property>
2628
+ <property name="idle" version="1.4" transfer-ownership="none">
2629
+ <doc xml:space="preserve">Whether the #ClutterGstPlayer is in idle mode.</doc>
2630
+ <type name="gboolean" c:type="gboolean"/>
2631
+ </property>
2632
+ <property name="playing" writable="1" transfer-ownership="none">
2633
+ <doc xml:space="preserve">Whether the #ClutterGstPlayer actor is playing.</doc>
2634
+ <type name="gboolean" c:type="gboolean"/>
2635
+ </property>
2636
+ <glib:signal name="eos" when="last">
2637
+ <doc xml:space="preserve">The ::eos signal is emitted each time the media stream ends.</doc>
2638
+ <return-value transfer-ownership="none">
2639
+ <type name="none" c:type="void"/>
2640
+ </return-value>
2641
+ </glib:signal>
2642
+ <glib:signal name="error" when="last">
2643
+ <doc xml:space="preserve">The ::error signal is emitted each time an error occurred.</doc>
2644
+ <return-value transfer-ownership="none">
2645
+ <type name="none" c:type="void"/>
2646
+ </return-value>
2647
+ <parameters>
2648
+ <parameter name="error" transfer-ownership="none">
2649
+ <doc xml:space="preserve">the #GError</doc>
2650
+ <type name="GLib.Error"/>
2651
+ </parameter>
2652
+ </parameters>
2653
+ </glib:signal>
2654
+ <glib:signal name="new-frame" when="last">
2655
+ <doc xml:space="preserve">The ::ready signal is emitted each time the gstreamer pipeline
2656
+ becomes ready.</doc>
2657
+ <return-value transfer-ownership="none">
2658
+ <type name="none" c:type="void"/>
2659
+ </return-value>
2660
+ <parameters>
2661
+ <parameter name="frame" transfer-ownership="none">
2662
+ <doc xml:space="preserve">the #ClutterGstFrame newly receive from the video sink</doc>
2663
+ <type name="Frame"/>
2664
+ </parameter>
2665
+ </parameters>
2666
+ </glib:signal>
2667
+ <glib:signal name="ready" when="last">
2668
+ <doc xml:space="preserve">The ::ready signal is emitted each time the gstreamer pipeline
2669
+ becomes ready.</doc>
2670
+ <return-value transfer-ownership="none">
2671
+ <type name="none" c:type="void"/>
2672
+ </return-value>
2673
+ </glib:signal>
2674
+ <glib:signal name="size-change" when="last">
2675
+ <doc xml:space="preserve">The ::size-change signal is emitted each time the gstreamer pipeline
2676
+ becomes ready.</doc>
2677
+ <return-value transfer-ownership="none">
2678
+ <type name="none" c:type="void"/>
2679
+ </return-value>
2680
+ <parameters>
2681
+ <parameter name="width" transfer-ownership="none">
2682
+ <doc xml:space="preserve">new width of the frames</doc>
2683
+ <type name="gint" c:type="gint"/>
2684
+ </parameter>
2685
+ <parameter name="height" transfer-ownership="none">
2686
+ <doc xml:space="preserve">new height of the frames</doc>
2687
+ <type name="gint" c:type="gint"/>
2688
+ </parameter>
2689
+ </parameters>
2690
+ </glib:signal>
2691
+ </interface>
2692
+ <record name="PlayerIface"
2693
+ c:type="ClutterGstPlayerIface"
2694
+ glib:is-gtype-struct-for="Player"
2695
+ version="1.4">
2696
+ <doc xml:space="preserve">Interface vtable for #ClutterGstPlayer implementations</doc>
2697
+ <field name="base_iface" readable="0" private="1">
2698
+ <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
2699
+ </field>
2700
+ <field name="priv" readable="0" private="1">
2701
+ <type name="PlayerIfacePrivate"
2702
+ c:type="ClutterGstPlayerIfacePrivate*"/>
2703
+ </field>
2704
+ <field name="get_frame">
2705
+ <callback name="get_frame">
2706
+ <return-value transfer-ownership="none">
2707
+ <doc xml:space="preserve">the #ClutterGstFrame of the last frame.</doc>
2708
+ <type name="Frame" c:type="ClutterGstFrame*"/>
2709
+ </return-value>
2710
+ <parameters>
2711
+ <parameter name="self" transfer-ownership="none">
2712
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2713
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2714
+ </parameter>
2715
+ </parameters>
2716
+ </callback>
2717
+ </field>
2718
+ <field name="get_pipeline">
2719
+ <callback name="get_pipeline">
2720
+ <return-value transfer-ownership="none">
2721
+ <doc xml:space="preserve">the #GstPipeline element used by the player</doc>
2722
+ <type name="Gst.Element" c:type="GstElement*"/>
2723
+ </return-value>
2724
+ <parameters>
2725
+ <parameter name="self" transfer-ownership="none">
2726
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2727
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2728
+ </parameter>
2729
+ </parameters>
2730
+ </callback>
2731
+ </field>
2732
+ <field name="get_video_sink">
2733
+ <callback name="get_video_sink">
2734
+ <return-value transfer-ownership="none">
2735
+ <doc xml:space="preserve">the #ClutterGstVideoSink element used by the player</doc>
2736
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
2737
+ </return-value>
2738
+ <parameters>
2739
+ <parameter name="self" transfer-ownership="none">
2740
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2741
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2742
+ </parameter>
2743
+ </parameters>
2744
+ </callback>
2745
+ </field>
2746
+ <field name="get_idle">
2747
+ <callback name="get_idle">
2748
+ <return-value transfer-ownership="none">
2749
+ <doc xml:space="preserve">TRUE if the pipline is in idle mode, FALSE otherwise.</doc>
2750
+ <type name="gboolean" c:type="gboolean"/>
2751
+ </return-value>
2752
+ <parameters>
2753
+ <parameter name="self" transfer-ownership="none">
2754
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2755
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2756
+ </parameter>
2757
+ </parameters>
2758
+ </callback>
2759
+ </field>
2760
+ <field name="get_audio_volume">
2761
+ <callback name="get_audio_volume">
2762
+ <return-value transfer-ownership="none">
2763
+ <doc xml:space="preserve">The playback volume between 0.0 and 1.0</doc>
2764
+ <type name="gdouble" c:type="gdouble"/>
2765
+ </return-value>
2766
+ <parameters>
2767
+ <parameter name="self" transfer-ownership="none">
2768
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2769
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2770
+ </parameter>
2771
+ </parameters>
2772
+ </callback>
2773
+ </field>
2774
+ <field name="set_audio_volume">
2775
+ <callback name="set_audio_volume">
2776
+ <return-value transfer-ownership="none">
2777
+ <type name="none" c:type="void"/>
2778
+ </return-value>
2779
+ <parameters>
2780
+ <parameter name="self" transfer-ownership="none">
2781
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2782
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2783
+ </parameter>
2784
+ <parameter name="volume" transfer-ownership="none">
2785
+ <doc xml:space="preserve">the volume as a double between 0.0 and 1.0</doc>
2786
+ <type name="gdouble" c:type="gdouble"/>
2787
+ </parameter>
2788
+ </parameters>
2789
+ </callback>
2790
+ </field>
2791
+ <field name="get_playing">
2792
+ <callback name="get_playing">
2793
+ <return-value transfer-ownership="none">
2794
+ <doc xml:space="preserve">%TRUE if playing, %FALSE if stopped.</doc>
2795
+ <type name="gboolean" c:type="gboolean"/>
2796
+ </return-value>
2797
+ <parameters>
2798
+ <parameter name="self" transfer-ownership="none">
2799
+ <doc xml:space="preserve">A #ClutterGstPlayer object</doc>
2800
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2801
+ </parameter>
2802
+ </parameters>
2803
+ </callback>
2804
+ </field>
2805
+ <field name="set_playing">
2806
+ <callback name="set_playing">
2807
+ <return-value transfer-ownership="none">
2808
+ <type name="none" c:type="void"/>
2809
+ </return-value>
2810
+ <parameters>
2811
+ <parameter name="self" transfer-ownership="none">
2812
+ <doc xml:space="preserve">a #ClutterGstPlayer</doc>
2813
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2814
+ </parameter>
2815
+ <parameter name="playing" transfer-ownership="none">
2816
+ <doc xml:space="preserve">%TRUE to start playing</doc>
2817
+ <type name="gboolean" c:type="gboolean"/>
2818
+ </parameter>
2819
+ </parameters>
2820
+ </callback>
2821
+ </field>
2822
+ <field name="_padding_vfuncs" readable="0" private="1">
2823
+ <array zero-terminated="0" c:type="gpointer" fixed-size="16">
2824
+ <type name="gpointer" c:type="gpointer"/>
2825
+ </array>
2826
+ </field>
2827
+ <field name="new_frame">
2828
+ <callback name="new_frame">
2829
+ <return-value transfer-ownership="none">
2830
+ <type name="none" c:type="void"/>
2831
+ </return-value>
2832
+ <parameters>
2833
+ <parameter name="self" transfer-ownership="none">
2834
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2835
+ </parameter>
2836
+ <parameter name="frame" transfer-ownership="none">
2837
+ <type name="Frame" c:type="ClutterGstFrame*"/>
2838
+ </parameter>
2839
+ </parameters>
2840
+ </callback>
2841
+ </field>
2842
+ <field name="ready">
2843
+ <callback name="ready">
2844
+ <return-value transfer-ownership="none">
2845
+ <type name="none" c:type="void"/>
2846
+ </return-value>
2847
+ <parameters>
2848
+ <parameter name="self" transfer-ownership="none">
2849
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2850
+ </parameter>
2851
+ </parameters>
2852
+ </callback>
2853
+ </field>
2854
+ <field name="eos">
2855
+ <callback name="eos">
2856
+ <return-value transfer-ownership="none">
2857
+ <type name="none" c:type="void"/>
2858
+ </return-value>
2859
+ <parameters>
2860
+ <parameter name="self" transfer-ownership="none">
2861
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2862
+ </parameter>
2863
+ </parameters>
2864
+ </callback>
2865
+ </field>
2866
+ <field name="error">
2867
+ <callback name="error">
2868
+ <return-value transfer-ownership="none">
2869
+ <type name="none" c:type="void"/>
2870
+ </return-value>
2871
+ <parameters>
2872
+ <parameter name="self" transfer-ownership="none">
2873
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2874
+ </parameter>
2875
+ <parameter name="error" transfer-ownership="none">
2876
+ <type name="GLib.Error" c:type="const GError*"/>
2877
+ </parameter>
2878
+ </parameters>
2879
+ </callback>
2880
+ </field>
2881
+ <field name="size_change">
2882
+ <callback name="size_change">
2883
+ <return-value transfer-ownership="none">
2884
+ <type name="none" c:type="void"/>
2885
+ </return-value>
2886
+ <parameters>
2887
+ <parameter name="self" transfer-ownership="none">
2888
+ <type name="Player" c:type="ClutterGstPlayer*"/>
2889
+ </parameter>
2890
+ <parameter name="width" transfer-ownership="none">
2891
+ <type name="gint" c:type="gint"/>
2892
+ </parameter>
2893
+ <parameter name="height" transfer-ownership="none">
2894
+ <type name="gint" c:type="gint"/>
2895
+ </parameter>
2896
+ </parameters>
2897
+ </callback>
2898
+ </field>
2899
+ <field name="_padding_signals" readable="0" private="1">
2900
+ <array zero-terminated="0" c:type="gpointer" fixed-size="8">
2901
+ <type name="gpointer" c:type="gpointer"/>
2902
+ </array>
2903
+ </field>
2904
+ </record>
2905
+ <record name="PlayerIfacePrivate"
2906
+ c:type="ClutterGstPlayerIfacePrivate"
2907
+ disguised="1">
2908
+ </record>
2909
+ <bitfield name="SeekFlags"
2910
+ version="1.4"
2911
+ glib:type-name="ClutterGstSeekFlags"
2912
+ glib:get-type="clutter_gst_seek_flags_get_type"
2913
+ c:type="ClutterGstSeekFlags">
2914
+ <doc xml:space="preserve">Flags that can be given to clutter_gst_player_set_seek_flags().</doc>
2915
+ <member name="none"
2916
+ value="0"
2917
+ c:identifier="CLUTTER_GST_SEEK_FLAG_NONE"
2918
+ glib:nick="none">
2919
+ <doc xml:space="preserve">Fast seeks (key frame boundaries, default)</doc>
2920
+ </member>
2921
+ <member name="accurate"
2922
+ value="1"
2923
+ c:identifier="CLUTTER_GST_SEEK_FLAG_ACCURATE"
2924
+ glib:nick="accurate">
2925
+ <doc xml:space="preserve">Accurate seeks (potentially slower)</doc>
2926
+ </member>
2927
+ </bitfield>
2928
+ <constant name="VERSION_HEX" value="0" c:type="CLUTTER_GST_VERSION_HEX">
2929
+ <doc xml:space="preserve">ClutterGst full version, encoded as an hexadecimal value.</doc>
2930
+ <type name="gint" c:type="gint"/>
2931
+ </constant>
2932
+ <constant name="VERSION_S" value="3.0.0" c:type="CLUTTER_GST_VERSION_S">
2933
+ <doc xml:space="preserve">ClutterGst full version, encoded as a string.</doc>
2934
+ <type name="utf8" c:type="gchar*"/>
2935
+ </constant>
2936
+ <record name="VideoResolution"
2937
+ c:type="ClutterGstVideoResolution"
2938
+ version="3.0">
2939
+ <doc xml:space="preserve">A video resolution.</doc>
2940
+ <field name="width" writable="1">
2941
+ <doc xml:space="preserve">the width, in pixels</doc>
2942
+ <type name="gint" c:type="gint"/>
2943
+ </field>
2944
+ <field name="height" writable="1">
2945
+ <doc xml:space="preserve">the height, in pixels</doc>
2946
+ <type name="gint" c:type="gint"/>
2947
+ </field>
2948
+ <field name="par_n" writable="1">
2949
+ <type name="gint" c:type="gint"/>
2950
+ </field>
2951
+ <field name="par_d" writable="1">
2952
+ <type name="gint" c:type="gint"/>
2953
+ </field>
2954
+ </record>
2955
+ <class name="VideoSink"
2956
+ c:symbol-prefix="video_sink"
2957
+ c:type="ClutterGstVideoSink"
2958
+ version="3.0"
2959
+ parent="GstVideo.VideoSink"
2960
+ glib:type-name="ClutterGstVideoSink"
2961
+ glib:get-type="clutter_gst_video_sink_get_type"
2962
+ glib:type-struct="VideoSinkClass">
2963
+ <doc xml:space="preserve">The #ClutterGstVideoSink structure contains only private data and
2964
+ should be accessed using the provided API.</doc>
2965
+ <implements name="GstVideo.ColorBalance"/>
2966
+ <implements name="GstVideo.Navigation"/>
2967
+ <constructor name="new"
2968
+ c:identifier="clutter_gst_video_sink_new"
2969
+ version="3.0">
2970
+ <doc xml:space="preserve">Creates a new #ClutterGstVideoSink</doc>
2971
+ <return-value transfer-ownership="full">
2972
+ <doc xml:space="preserve">a new #ClutterGstVideoSink</doc>
2973
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
2974
+ </return-value>
2975
+ </constructor>
2976
+ <virtual-method name="new_frame">
2977
+ <return-value transfer-ownership="none">
2978
+ <type name="none" c:type="void"/>
2979
+ </return-value>
2980
+ <parameters>
2981
+ <instance-parameter name="sink" transfer-ownership="none">
2982
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
2983
+ </instance-parameter>
2984
+ </parameters>
2985
+ </virtual-method>
2986
+ <virtual-method name="new_overlays">
2987
+ <return-value transfer-ownership="none">
2988
+ <type name="none" c:type="void"/>
2989
+ </return-value>
2990
+ <parameters>
2991
+ <instance-parameter name="sink" transfer-ownership="none">
2992
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
2993
+ </instance-parameter>
2994
+ </parameters>
2995
+ </virtual-method>
2996
+ <virtual-method name="pipeline_ready">
2997
+ <return-value transfer-ownership="none">
2998
+ <type name="none" c:type="void"/>
2999
+ </return-value>
3000
+ <parameters>
3001
+ <instance-parameter name="sink" transfer-ownership="none">
3002
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
3003
+ </instance-parameter>
3004
+ </parameters>
3005
+ </virtual-method>
3006
+ <method name="get_frame"
3007
+ c:identifier="clutter_gst_video_sink_get_frame"
3008
+ version="3.0">
3009
+ <doc xml:space="preserve">Returns a #ClutterGstFrame object suitable to render the current
3010
+ frame of the given video sink. An application is free to make a
3011
+ copy of this pipeline and modify it for custom rendering.</doc>
3012
+ <return-value transfer-ownership="none">
3013
+ <doc xml:space="preserve">A #ClutterGstFame or NULL if there
3014
+ isn't a frame to be displayed yet.</doc>
3015
+ <type name="Frame" c:type="ClutterGstFrame*"/>
3016
+ </return-value>
3017
+ <parameters>
3018
+ <instance-parameter name="sink" transfer-ownership="none">
3019
+ <doc xml:space="preserve">The #ClutterGstVideoSink</doc>
3020
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
3021
+ </instance-parameter>
3022
+ </parameters>
3023
+ </method>
3024
+ <method name="get_overlays"
3025
+ c:identifier="clutter_gst_video_sink_get_overlays">
3026
+ <return-value transfer-ownership="full">
3027
+ <type name="Overlays" c:type="ClutterGstOverlays*"/>
3028
+ </return-value>
3029
+ <parameters>
3030
+ <instance-parameter name="sink" transfer-ownership="none">
3031
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
3032
+ </instance-parameter>
3033
+ </parameters>
3034
+ </method>
3035
+ <method name="get_pipeline"
3036
+ c:identifier="clutter_gst_video_sink_get_pipeline"
3037
+ version="3.0"
3038
+ introspectable="0">
3039
+ <doc xml:space="preserve">Returns a pipeline suitable for rendering the current frame of the
3040
+ given video sink. The pipeline will already have the textures for
3041
+ the frame attached. For simple rendering, an application will
3042
+ typically call this function immediately before it paints the
3043
+ video. It can then just paint a rectangle using the returned
3044
+ pipeline.
3045
+
3046
+ An application is free to make a copy of this
3047
+ pipeline and modify it for custom rendering.
3048
+
3049
+ Note: it is considered an error to call this function before the
3050
+ #ClutterGstVideoSink::pipeline-ready signal is emitted.</doc>
3051
+ <return-value transfer-ownership="none">
3052
+ <doc xml:space="preserve">the pipeline for rendering the
3053
+ current frame</doc>
3054
+ <type c:type="CoglPipeline*"/>
3055
+ </return-value>
3056
+ <parameters>
3057
+ <instance-parameter name="sink" transfer-ownership="none">
3058
+ <doc xml:space="preserve">The #ClutterGstVideoSink</doc>
3059
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
3060
+ </instance-parameter>
3061
+ </parameters>
3062
+ </method>
3063
+ <method name="is_ready"
3064
+ c:identifier="clutter_gst_video_sink_is_ready"
3065
+ version="3.0">
3066
+ <doc xml:space="preserve">Returns whether the pipeline is ready and so
3067
+ clutter_gst_video_sink_get_pipeline() and
3068
+ clutter_gst_video_sink_setup_pipeline() can be called without causing error.
3069
+
3070
+ Note: Normally an application will wait until the
3071
+ #ClutterGstVideoSink::pipeline-ready signal is emitted instead of
3072
+ polling the ready status with this api, but sometimes when a sink
3073
+ is passed between components that didn't have an opportunity to
3074
+ connect a signal handler this can be useful.</doc>
3075
+ <return-value transfer-ownership="none">
3076
+ <doc xml:space="preserve">%TRUE if the sink is ready, else %FALSE</doc>
3077
+ <type name="gboolean" c:type="gboolean"/>
3078
+ </return-value>
3079
+ <parameters>
3080
+ <instance-parameter name="sink" transfer-ownership="none">
3081
+ <doc xml:space="preserve">The #ClutterGstVideoSink</doc>
3082
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
3083
+ </instance-parameter>
3084
+ </parameters>
3085
+ </method>
3086
+ <method name="setup_pipeline"
3087
+ c:identifier="clutter_gst_video_sink_setup_pipeline"
3088
+ version="3.0"
3089
+ introspectable="0">
3090
+ <doc xml:space="preserve">Configures the given pipeline so that will be able to render the
3091
+ video for the @sink. This should only be used if the application
3092
+ wants to perform some custom rendering using its own pipeline.
3093
+ Typically an application will call this in response to the
3094
+ #ClutterGstVideoSink::pipeline-ready signal.
3095
+
3096
+ Note: it is considered an error to call this function before the
3097
+ #ClutterGstVideoSink::pipeline-ready signal is emitted.</doc>
3098
+ <return-value transfer-ownership="none">
3099
+ <type name="none" c:type="void"/>
3100
+ </return-value>
3101
+ <parameters>
3102
+ <instance-parameter name="sink" transfer-ownership="none">
3103
+ <doc xml:space="preserve">The #ClutterGstVideoSink</doc>
3104
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
3105
+ </instance-parameter>
3106
+ <parameter name="pipeline" transfer-ownership="none">
3107
+ <doc xml:space="preserve">A #CoglPipeline</doc>
3108
+ <type c:type="CoglPipeline*"/>
3109
+ </parameter>
3110
+ </parameters>
3111
+ </method>
3112
+ <property name="update-priority" writable="1" transfer-ownership="none">
3113
+ <type name="gint" c:type="gint"/>
3114
+ </property>
3115
+ <field name="parent" readable="0" private="1">
3116
+ <type name="GstVideo.VideoSink" c:type="GstVideoSink"/>
3117
+ </field>
3118
+ <field name="priv" readable="0" private="1">
3119
+ <type name="VideoSinkPrivate" c:type="ClutterGstVideoSinkPrivate*"/>
3120
+ </field>
3121
+ <glib:signal name="new-frame" when="last" version="3.0">
3122
+ <doc xml:space="preserve">The sink will emit this signal whenever there are new textures
3123
+ available for a new frame of the video. After this signal is
3124
+ emitted, an application can call clutter_gst_video_sink_get_pipeline()
3125
+ to get a pipeline suitable for rendering the frame. If the
3126
+ application is using a custom pipeline it can alternatively call
3127
+ clutter_gst_video_sink_attach_frame() to attach the textures.</doc>
3128
+ <return-value transfer-ownership="none">
3129
+ <type name="none" c:type="void"/>
3130
+ </return-value>
3131
+ </glib:signal>
3132
+ <glib:signal name="new-overlays" when="last" version="3.0">
3133
+ <doc xml:space="preserve">The sink will emit this signal whenever there are new textures
3134
+ available for set of overlays on the video. After this signal is
3135
+ emitted, an application can call
3136
+ clutter_gst_video_sink_get_overlays() to get a set of pipelines
3137
+ suitable for rendering overlays on a video frame.</doc>
3138
+ <return-value transfer-ownership="none">
3139
+ <type name="none" c:type="void"/>
3140
+ </return-value>
3141
+ </glib:signal>
3142
+ <glib:signal name="pipeline-ready" when="last" version="3.0">
3143
+ <doc xml:space="preserve">The sink will emit this signal as soon as it has gathered enough
3144
+ information from the video to configure a pipeline. If the
3145
+ application wants to do some customized rendering, it can setup its
3146
+ pipeline after this signal is emitted. The application's pipeline
3147
+ will typically either be a copy of the one returned by
3148
+ clutter_gst_video_sink_get_pipeline() or it can be a completely custom
3149
+ pipeline which is setup using clutter_gst_video_sink_setup_pipeline().
3150
+
3151
+ Note that it is an error to call either of those functions before
3152
+ this signal is emitted. The #ClutterGstVideoSink::new-frame signal
3153
+ will only be emitted after the pipeline is ready so the application
3154
+ could also create its pipeline in the handler for that.</doc>
3155
+ <return-value transfer-ownership="none">
3156
+ <type name="none" c:type="void"/>
3157
+ </return-value>
3158
+ </glib:signal>
3159
+ </class>
3160
+ <record name="VideoSinkClass"
3161
+ c:type="ClutterGstVideoSinkClass"
3162
+ glib:is-gtype-struct-for="VideoSink"
3163
+ version="3.0">
3164
+ <field name="parent_class" readable="0" private="1">
3165
+ <type name="GstVideo.VideoSinkClass" c:type="GstVideoSinkClass"/>
3166
+ </field>
3167
+ <field name="new_frame">
3168
+ <callback name="new_frame">
3169
+ <return-value transfer-ownership="none">
3170
+ <type name="none" c:type="void"/>
3171
+ </return-value>
3172
+ <parameters>
3173
+ <parameter name="sink" transfer-ownership="none">
3174
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
3175
+ </parameter>
3176
+ </parameters>
3177
+ </callback>
3178
+ </field>
3179
+ <field name="pipeline_ready">
3180
+ <callback name="pipeline_ready">
3181
+ <return-value transfer-ownership="none">
3182
+ <type name="none" c:type="void"/>
3183
+ </return-value>
3184
+ <parameters>
3185
+ <parameter name="sink" transfer-ownership="none">
3186
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
3187
+ </parameter>
3188
+ </parameters>
3189
+ </callback>
3190
+ </field>
3191
+ <field name="new_overlays">
3192
+ <callback name="new_overlays">
3193
+ <return-value transfer-ownership="none">
3194
+ <type name="none" c:type="void"/>
3195
+ </return-value>
3196
+ <parameters>
3197
+ <parameter name="sink" transfer-ownership="none">
3198
+ <type name="VideoSink" c:type="ClutterGstVideoSink*"/>
3199
+ </parameter>
3200
+ </parameters>
3201
+ </callback>
3202
+ </field>
3203
+ <field name="_padding_dummy" readable="0" private="1">
3204
+ <array zero-terminated="0" c:type="void" fixed-size="8">
3205
+ <type name="gpointer" c:type="void*"/>
3206
+ </array>
3207
+ </field>
3208
+ </record>
3209
+ <record name="VideoSinkPrivate"
3210
+ c:type="ClutterGstVideoSinkPrivate"
3211
+ disguised="1">
3212
+ </record>
3213
+ <function name="create_video_sink"
3214
+ c:identifier="clutter_gst_create_video_sink"
3215
+ version="3.0">
3216
+ <doc xml:space="preserve">Creates a new #ClutterGstVideoSink initialized with Clutter's Cogl context.</doc>
3217
+ <return-value transfer-ownership="full">
3218
+ <doc xml:space="preserve">the newly created #ClutterGstVideoSink.</doc>
3219
+ <type name="Gst.Element" c:type="GstElement*"/>
3220
+ </return-value>
3221
+ </function>
3222
+ <function name="init" c:identifier="clutter_gst_init">
3223
+ <doc xml:space="preserve">Utility function to initialize both Clutter and GStreamer.
3224
+
3225
+ This function should be called before calling any other GLib functions. If
3226
+ this is not an option, your program must initialise the GLib thread system
3227
+ using g_thread_init() before any other GLib functions are called.</doc>
3228
+ <return-value transfer-ownership="none">
3229
+ <doc xml:space="preserve">A #ClutterInitError.</doc>
3230
+ <type name="Clutter.InitError" c:type="ClutterInitError"/>
3231
+ </return-value>
3232
+ <parameters>
3233
+ <parameter name="argc"
3234
+ direction="inout"
3235
+ caller-allocates="0"
3236
+ transfer-ownership="full">
3237
+ <doc xml:space="preserve">The number of arguments in @argv</doc>
3238
+ <type name="gint" c:type="int*"/>
3239
+ </parameter>
3240
+ <parameter name="argv"
3241
+ direction="inout"
3242
+ caller-allocates="0"
3243
+ transfer-ownership="full"
3244
+ nullable="1"
3245
+ allow-none="1">
3246
+ <doc xml:space="preserve">A pointer to an array</doc>
3247
+ <array length="0" zero-terminated="0" c:type="char***">
3248
+ <type name="utf8" c:type="char**"/>
3249
+ </array>
3250
+ </parameter>
3251
+ </parameters>
3252
+ </function>
3253
+ <function name="init_with_args"
3254
+ c:identifier="clutter_gst_init_with_args"
3255
+ version="1.0"
3256
+ throws="1">
3257
+ <doc xml:space="preserve">This function does the same work as clutter_gst_init(). Additionally, it
3258
+ allows you to add your own command line options, and it automatically
3259
+ generates nicely formatted --help output. Clutter's and GStreamer's
3260
+ #GOptionGroup&lt;!-- --&gt;s are added to the set of available options.
3261
+
3262
+ Your program must initialise the GLib thread system using g_thread_init()
3263
+ before any other GLib functions are called.</doc>
3264
+ <return-value transfer-ownership="none">
3265
+ <doc xml:space="preserve">%CLUTTER_INIT_SUCCESS on success, a negative integer
3266
+ on failure.</doc>
3267
+ <type name="Clutter.InitError" c:type="ClutterInitError"/>
3268
+ </return-value>
3269
+ <parameters>
3270
+ <parameter name="argc"
3271
+ direction="inout"
3272
+ caller-allocates="0"
3273
+ transfer-ownership="full">
3274
+ <doc xml:space="preserve">The number of arguments in @argv</doc>
3275
+ <type name="gint" c:type="int*"/>
3276
+ </parameter>
3277
+ <parameter name="argv"
3278
+ direction="inout"
3279
+ caller-allocates="0"
3280
+ transfer-ownership="full"
3281
+ nullable="1"
3282
+ allow-none="1">
3283
+ <doc xml:space="preserve">A pointer to an array</doc>
3284
+ <array length="0" zero-terminated="0" c:type="char***">
3285
+ <type name="utf8" c:type="char**"/>
3286
+ </array>
3287
+ </parameter>
3288
+ <parameter name="parameter_string" transfer-ownership="none">
3289
+ <doc xml:space="preserve">a string which is displayed in
3290
+ the first line of &lt;option&gt;--help&lt;/option&gt; output, after
3291
+ &lt;literal&gt;&lt;replaceable&gt;programname&lt;/replaceable&gt; [OPTION...]&lt;/literal&gt;</doc>
3292
+ <type name="utf8" c:type="const char*"/>
3293
+ </parameter>
3294
+ <parameter name="entries" transfer-ownership="none">
3295
+ <doc xml:space="preserve">a %NULL-terminated array of #GOptionEntry&lt;!-- --&gt;s
3296
+ describing the options of your program</doc>
3297
+ <type name="GLib.OptionEntry" c:type="GOptionEntry*"/>
3298
+ </parameter>
3299
+ <parameter name="translation_domain" transfer-ownership="none">
3300
+ <doc xml:space="preserve">a translation domain to use for translating
3301
+ the &lt;option&gt;--help&lt;/option&gt; output for the options in @entries
3302
+ with gettext(), or %NULL</doc>
3303
+ <type name="utf8" c:type="const char*"/>
3304
+ </parameter>
3305
+ </parameters>
3306
+ </function>
3307
+ </namespace>
3308
+ </repository>