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,560 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Clutter Gst 3.0.0
6
+ Reference Manual: Video Sink</title>
7
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
8
+ <link rel="home" href="index.html" title="Clutter Gst 3.0.0 Reference Manual">
9
+ <link rel="up" href="ch04.html" title="ClutterGst sink">
10
+ <link rel="prev" href="ch04.html" title="ClutterGst sink">
11
+ <link rel="next" href="ch05.html" title="ClutterGst utils">
12
+ <meta name="generator" content="GTK-Doc V1.21 (XML mode)">
13
+ <link rel="stylesheet" href="style.css" type="text/css">
14
+ </head>
15
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
16
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
17
+ <td width="100%" align="left" class="shortcuts">
18
+ <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
19
+ <a href="#clutter-gst-Video-Sink.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
20
+ <a href="#clutter-gst-Video-Sink.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
21
+ <a href="#clutter-gst-Video-Sink.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
22
+ <a href="#clutter-gst-Video-Sink.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
23
+ <a href="#clutter-gst-Video-Sink.signals" class="shortcut">Signals</a></span>
24
+ </td>
25
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
26
+ <td><a accesskey="u" href="ch04.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
27
+ <td><a accesskey="p" href="ch04.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
28
+ <td><a accesskey="n" href="ch05.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
29
+ </tr></table>
30
+ <div class="refentry">
31
+ <a name="clutter-gst-Video-Sink"></a><div class="titlepage"></div>
32
+ <div class="refnamediv"><table width="100%"><tr>
33
+ <td valign="top">
34
+ <h2><span class="refentrytitle"><a name="clutter-gst-Video-Sink.top_of_page"></a>Video Sink</span></h2>
35
+ <p>Video Sink — A video sink for integrating a GStreamer
36
+ pipeline with a Cogl pipeline.</p>
37
+ </td>
38
+ <td class="gallery_image" valign="top" align="right"></td>
39
+ </tr></table></div>
40
+ <div class="refsect1">
41
+ <a name="clutter-gst-Video-Sink.functions"></a><h2>Functions</h2>
42
+ <div class="informaltable"><table width="100%" border="0">
43
+ <colgroup>
44
+ <col width="150px" class="functions_return">
45
+ <col class="functions_name">
46
+ </colgroup>
47
+ <tbody>
48
+ <tr>
49
+ <td class="function_type">
50
+ <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="returnvalue">ClutterGstVideoSink</span></a> *
51
+ </td>
52
+ <td class="function_name">
53
+ <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-new" title="clutter_gst_video_sink_new ()">clutter_gst_video_sink_new</a> <span class="c_punctuation">()</span>
54
+ </td>
55
+ </tr>
56
+ <tr>
57
+ <td class="function_type">
58
+ <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
59
+ </td>
60
+ <td class="function_name">
61
+ <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-is-ready" title="clutter_gst_video_sink_is_ready ()">clutter_gst_video_sink_is_ready</a> <span class="c_punctuation">()</span>
62
+ </td>
63
+ </tr>
64
+ <tr>
65
+ <td class="function_type">
66
+ <span class="returnvalue">ClutterGstFrame</span> *
67
+ </td>
68
+ <td class="function_name">
69
+ <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-get-frame" title="clutter_gst_video_sink_get_frame ()">clutter_gst_video_sink_get_frame</a> <span class="c_punctuation">()</span>
70
+ </td>
71
+ </tr>
72
+ <tr>
73
+ <td class="function_type">
74
+ <a href="/usr/share/gtk-doc/html/cogl-2.0-experimental/cogl-2.0-experimental-Pipeline.html#CoglPipeline"><span class="returnvalue">CoglPipeline</span></a> *
75
+ </td>
76
+ <td class="function_name">
77
+ <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-get-pipeline" title="clutter_gst_video_sink_get_pipeline ()">clutter_gst_video_sink_get_pipeline</a> <span class="c_punctuation">()</span>
78
+ </td>
79
+ </tr>
80
+ <tr>
81
+ <td class="function_type">
82
+ <span class="returnvalue">void</span>
83
+ </td>
84
+ <td class="function_name">
85
+ <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-setup-pipeline" title="clutter_gst_video_sink_setup_pipeline ()">clutter_gst_video_sink_setup_pipeline</a> <span class="c_punctuation">()</span>
86
+ </td>
87
+ </tr>
88
+ <tr>
89
+ <td class="function_type">
90
+ <span class="returnvalue">ClutterGstOverlays</span> *
91
+ </td>
92
+ <td class="function_name">
93
+ <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-get-overlays" title="clutter_gst_video_sink_get_overlays ()">clutter_gst_video_sink_get_overlays</a> <span class="c_punctuation">()</span>
94
+ </td>
95
+ </tr>
96
+ </tbody>
97
+ </table></div>
98
+ </div>
99
+ <div class="refsect1">
100
+ <a name="clutter-gst-Video-Sink.properties"></a><h2>Properties</h2>
101
+ <div class="informaltable"><table border="0">
102
+ <colgroup>
103
+ <col width="150px" class="properties_type">
104
+ <col width="300px" class="properties_name">
105
+ <col width="200px" class="properties_flags">
106
+ </colgroup>
107
+ <tbody><tr>
108
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
109
+ <td class="property_name"><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink--update-priority" title="The “update-priority” property">update-priority</a></td>
110
+ <td class="property_flags">Read / Write</td>
111
+ </tr></tbody>
112
+ </table></div>
113
+ </div>
114
+ <div class="refsect1">
115
+ <a name="clutter-gst-Video-Sink.signals"></a><h2>Signals</h2>
116
+ <div class="informaltable"><table border="0">
117
+ <colgroup>
118
+ <col width="150px" class="signals_return">
119
+ <col width="300px" class="signals_name">
120
+ <col width="200px" class="signals_flags">
121
+ </colgroup>
122
+ <tbody>
123
+ <tr>
124
+ <td class="signal_type"><span class="returnvalue">void</span></td>
125
+ <td class="signal_name"><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-new-frame" title="The “new-frame” signal">new-frame</a></td>
126
+ <td class="signal_flags">Run Last</td>
127
+ </tr>
128
+ <tr>
129
+ <td class="signal_type"><span class="returnvalue">void</span></td>
130
+ <td class="signal_name"><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-new-overlays" title="The “new-overlays” signal">new-overlays</a></td>
131
+ <td class="signal_flags">Run Last</td>
132
+ </tr>
133
+ <tr>
134
+ <td class="signal_type"><span class="returnvalue">void</span></td>
135
+ <td class="signal_name"><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-pipeline-ready" title="The “pipeline-ready” signal">pipeline-ready</a></td>
136
+ <td class="signal_flags">Run Last</td>
137
+ </tr>
138
+ </tbody>
139
+ </table></div>
140
+ </div>
141
+ <a name="ClutterGstVideoSink"></a><div class="refsect1">
142
+ <a name="clutter-gst-Video-Sink.other"></a><h2>Types and Values</h2>
143
+ <div class="informaltable"><table width="100%" border="0">
144
+ <colgroup>
145
+ <col width="150px" class="name">
146
+ <col class="description">
147
+ </colgroup>
148
+ <tbody>
149
+ <tr>
150
+ <td class="datatype_keyword">struct</td>
151
+ <td class="function_name"><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-struct" title="struct ClutterGstVideoSink">ClutterGstVideoSink</a></td>
152
+ </tr>
153
+ <tr>
154
+ <td class="datatype_keyword">struct</td>
155
+ <td class="function_name"><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSinkClass" title="struct ClutterGstVideoSinkClass">ClutterGstVideoSinkClass</a></td>
156
+ </tr>
157
+ </tbody>
158
+ </table></div>
159
+ </div>
160
+ <div class="refsect1">
161
+ <a name="clutter-gst-Video-Sink.object-hierarchy"></a><h2>Object Hierarchy</h2>
162
+ <pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
163
+ <span class="lineart">╰──</span> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
164
+ <span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
165
+ <span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
166
+ <span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSink.html">GstBaseSink</a>
167
+ <span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideosink.html#GstVideoSink">GstVideoSink</a>
168
+ <span class="lineart">╰──</span> ClutterGstVideoSink
169
+ </pre>
170
+ </div>
171
+ <div class="refsect1">
172
+ <a name="clutter-gst-Video-Sink.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
173
+ <p>
174
+ ClutterGstVideoSink implements
175
+ <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstcolorbalance.html#GstColorBalance">GstColorBalance</a> and <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstnavigation.html#GstNavigation">GstNavigation</a>.</p>
176
+ </div>
177
+ <div class="refsect1">
178
+ <a name="clutter-gst-Video-Sink.description"></a><h2>Description</h2>
179
+ <p><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a> is a subclass of <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSink.html"><span class="type">GstBaseSink</span></a> which can be used to
180
+ create a <a href="/usr/share/gtk-doc/html/cogl-2.0-experimental/cogl-2.0-experimental-Pipeline.html#CoglPipeline"><span class="type">CoglPipeline</span></a> for rendering the frames of the video.</p>
181
+ <p>To create a basic video player, an application can create a
182
+ <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPipeline.html"><span class="type">GstPipeline</span></a> as normal using <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPipeline.html#gst-pipeline-new"><code class="function">gst_pipeline_new()</code></a> and set the
183
+ sink on it to one created with <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-new" title="clutter_gst_video_sink_new ()"><code class="function">clutter_gst_video_sink_new()</code></a>. The
184
+ application can then listen for the <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-new-frame" title="The “new-frame” signal"><span class="type">“new-frame”</span></a>
185
+ signal which will be emitted whenever there are new textures ready
186
+ for rendering. For simple rendering, the application can just call
187
+ <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-get-pipeline" title="clutter_gst_video_sink_get_pipeline ()"><code class="function">clutter_gst_video_sink_get_pipeline()</code></a> in the signal handler and use
188
+ the returned pipeline to paint the new frame.</p>
189
+ <p>An application is also free to do more advanced rendering by
190
+ customizing the pipeline. In that case it should listen for the
191
+ <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-pipeline-ready" title="The “pipeline-ready” signal"><span class="type">“pipeline-ready”</span></a> signal which will be emitted as
192
+ soon as the sink has determined enough information about the video
193
+ to know how it should be rendered. In the handler for this signal,
194
+ the application can either make modifications to a copy of the
195
+ pipeline returned by <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-get-pipeline" title="clutter_gst_video_sink_get_pipeline ()"><code class="function">clutter_gst_video_sink_get_pipeline()</code></a> or it can
196
+ create its own pipeline from scratch and ask the sink to configure
197
+ it with <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-setup-pipeline" title="clutter_gst_video_sink_setup_pipeline ()"><code class="function">clutter_gst_video_sink_setup_pipeline()</code></a>. If a custom pipeline
198
+ is created using one of these methods then the application should
199
+ call <code class="function">clutter_gst_video_sink_attach_frame()</code> on the pipeline before
200
+ rendering in order to update the textures on the pipeline's layers.</p>
201
+ <p>If the <code class="literal">COGL_FEATURE_ID_GLSL</code> feature is available then the pipeline
202
+ used by the sink will have a shader snippet with a function in it
203
+ called clutter_gst_sample_video0 which takes a single vec2 argument.
204
+ This can be used by custom snippets set the by the application to
205
+ sample from the video. The vec2 argument represents the normalised
206
+ coordinates within the video. The function returns a vec4
207
+ containing a pre-multiplied RGBA color of the pixel within the
208
+ video.</p>
209
+ </div>
210
+ <div class="refsect1">
211
+ <a name="clutter-gst-Video-Sink.functions_details"></a><h2>Functions</h2>
212
+ <div class="refsect2">
213
+ <a name="clutter-gst-video-sink-new"></a><h3>clutter_gst_video_sink_new ()</h3>
214
+ <pre class="programlisting"><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="returnvalue">ClutterGstVideoSink</span></a> *
215
+ clutter_gst_video_sink_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
216
+ <p>Creates a new <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a></p>
217
+ <div class="refsect3">
218
+ <a name="id-1.5.2.11.2.5"></a><h4>Returns</h4>
219
+ <p> a new <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a>. </p>
220
+ <p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
221
+ </div>
222
+ <p class="since">Since 3.0</p>
223
+ </div>
224
+ <hr>
225
+ <div class="refsect2">
226
+ <a name="clutter-gst-video-sink-is-ready"></a><h3>clutter_gst_video_sink_is_ready ()</h3>
227
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
228
+ clutter_gst_video_sink_is_ready (<em class="parameter"><code><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a> *sink</code></em>);</pre>
229
+ <p>Returns whether the pipeline is ready and so
230
+ <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-get-pipeline" title="clutter_gst_video_sink_get_pipeline ()"><code class="function">clutter_gst_video_sink_get_pipeline()</code></a> and
231
+ <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-setup-pipeline" title="clutter_gst_video_sink_setup_pipeline ()"><code class="function">clutter_gst_video_sink_setup_pipeline()</code></a> can be called without causing error.</p>
232
+ <p>Note: Normally an application will wait until the
233
+ <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-pipeline-ready" title="The “pipeline-ready” signal"><span class="type">“pipeline-ready”</span></a> signal is emitted instead of
234
+ polling the ready status with this api, but sometimes when a sink
235
+ is passed between components that didn't have an opportunity to
236
+ connect a signal handler this can be useful.</p>
237
+ <div class="refsect3">
238
+ <a name="id-1.5.2.11.3.6"></a><h4>Parameters</h4>
239
+ <div class="informaltable"><table width="100%" border="0">
240
+ <colgroup>
241
+ <col width="150px" class="parameters_name">
242
+ <col class="parameters_description">
243
+ <col width="200px" class="parameters_annotations">
244
+ </colgroup>
245
+ <tbody><tr>
246
+ <td class="parameter_name"><p>sink</p></td>
247
+ <td class="parameter_description"><p>The <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a></p></td>
248
+ <td class="parameter_annotations"> </td>
249
+ </tr></tbody>
250
+ </table></div>
251
+ </div>
252
+ <div class="refsect3">
253
+ <a name="id-1.5.2.11.3.7"></a><h4>Returns</h4>
254
+ <p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the sink is ready, else <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
255
+ <p></p>
256
+ </div>
257
+ <p class="since">Since 3.0</p>
258
+ </div>
259
+ <hr>
260
+ <div class="refsect2">
261
+ <a name="clutter-gst-video-sink-get-frame"></a><h3>clutter_gst_video_sink_get_frame ()</h3>
262
+ <pre class="programlisting"><span class="returnvalue">ClutterGstFrame</span> *
263
+ clutter_gst_video_sink_get_frame (<em class="parameter"><code><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a> *sink</code></em>);</pre>
264
+ <p>Returns a <span class="type">ClutterGstFrame</span> object suitable to render the current
265
+ frame of the given video sink. An application is free to make a
266
+ copy of this pipeline and modify it for custom rendering.</p>
267
+ <div class="refsect3">
268
+ <a name="id-1.5.2.11.4.5"></a><h4>Parameters</h4>
269
+ <div class="informaltable"><table width="100%" border="0">
270
+ <colgroup>
271
+ <col width="150px" class="parameters_name">
272
+ <col class="parameters_description">
273
+ <col width="200px" class="parameters_annotations">
274
+ </colgroup>
275
+ <tbody><tr>
276
+ <td class="parameter_name"><p>sink</p></td>
277
+ <td class="parameter_description"><p>The <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a></p></td>
278
+ <td class="parameter_annotations"> </td>
279
+ </tr></tbody>
280
+ </table></div>
281
+ </div>
282
+ <div class="refsect3">
283
+ <a name="id-1.5.2.11.4.6"></a><h4>Returns</h4>
284
+ <p> A <span class="type">ClutterGstFame</span> or NULL if there
285
+ isn't a frame to be displayed yet. </p>
286
+ <p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
287
+ </div>
288
+ <p class="since">Since 3.0</p>
289
+ </div>
290
+ <hr>
291
+ <div class="refsect2">
292
+ <a name="clutter-gst-video-sink-get-pipeline"></a><h3>clutter_gst_video_sink_get_pipeline ()</h3>
293
+ <pre class="programlisting"><a href="/usr/share/gtk-doc/html/cogl-2.0-experimental/cogl-2.0-experimental-Pipeline.html#CoglPipeline"><span class="returnvalue">CoglPipeline</span></a> *
294
+ clutter_gst_video_sink_get_pipeline (<em class="parameter"><code><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a> *sink</code></em>);</pre>
295
+ <p>Returns a pipeline suitable for rendering the current frame of the
296
+ given video sink. The pipeline will already have the textures for
297
+ the frame attached. For simple rendering, an application will
298
+ typically call this function immediately before it paints the
299
+ video. It can then just paint a rectangle using the returned
300
+ pipeline.</p>
301
+ <p>An application is free to make a copy of this
302
+ pipeline and modify it for custom rendering.</p>
303
+ <p>Note: it is considered an error to call this function before the
304
+ <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-pipeline-ready" title="The “pipeline-ready” signal"><span class="type">“pipeline-ready”</span></a> signal is emitted.</p>
305
+ <div class="refsect3">
306
+ <a name="id-1.5.2.11.5.7"></a><h4>Parameters</h4>
307
+ <div class="informaltable"><table width="100%" border="0">
308
+ <colgroup>
309
+ <col width="150px" class="parameters_name">
310
+ <col class="parameters_description">
311
+ <col width="200px" class="parameters_annotations">
312
+ </colgroup>
313
+ <tbody><tr>
314
+ <td class="parameter_name"><p>sink</p></td>
315
+ <td class="parameter_description"><p>The <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a></p></td>
316
+ <td class="parameter_annotations"> </td>
317
+ </tr></tbody>
318
+ </table></div>
319
+ </div>
320
+ <div class="refsect3">
321
+ <a name="id-1.5.2.11.5.8"></a><h4>Returns</h4>
322
+ <p> the pipeline for rendering the
323
+ current frame. </p>
324
+ <p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
325
+ </div>
326
+ <p class="since">Since 3.0</p>
327
+ </div>
328
+ <hr>
329
+ <div class="refsect2">
330
+ <a name="clutter-gst-video-sink-setup-pipeline"></a><h3>clutter_gst_video_sink_setup_pipeline ()</h3>
331
+ <pre class="programlisting"><span class="returnvalue">void</span>
332
+ clutter_gst_video_sink_setup_pipeline (<em class="parameter"><code><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a> *sink</code></em>,
333
+ <em class="parameter"><code><a href="/usr/share/gtk-doc/html/cogl-2.0-experimental/cogl-2.0-experimental-Pipeline.html#CoglPipeline"><span class="type">CoglPipeline</span></a> *pipeline</code></em>);</pre>
334
+ <p>Configures the given pipeline so that will be able to render the
335
+ video for the <em class="parameter"><code>sink</code></em>
336
+ . This should only be used if the application
337
+ wants to perform some custom rendering using its own pipeline.
338
+ Typically an application will call this in response to the
339
+ <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-pipeline-ready" title="The “pipeline-ready” signal"><span class="type">“pipeline-ready”</span></a> signal.</p>
340
+ <p>Note: it is considered an error to call this function before the
341
+ <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-pipeline-ready" title="The “pipeline-ready” signal"><span class="type">“pipeline-ready”</span></a> signal is emitted.</p>
342
+ <div class="refsect3">
343
+ <a name="id-1.5.2.11.6.6"></a><h4>Parameters</h4>
344
+ <div class="informaltable"><table width="100%" border="0">
345
+ <colgroup>
346
+ <col width="150px" class="parameters_name">
347
+ <col class="parameters_description">
348
+ <col width="200px" class="parameters_annotations">
349
+ </colgroup>
350
+ <tbody>
351
+ <tr>
352
+ <td class="parameter_name"><p>sink</p></td>
353
+ <td class="parameter_description"><p>The <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a></p></td>
354
+ <td class="parameter_annotations"> </td>
355
+ </tr>
356
+ <tr>
357
+ <td class="parameter_name"><p>pipeline</p></td>
358
+ <td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/cogl-2.0-experimental/cogl-2.0-experimental-Pipeline.html#CoglPipeline"><span class="type">CoglPipeline</span></a></p></td>
359
+ <td class="parameter_annotations"> </td>
360
+ </tr>
361
+ </tbody>
362
+ </table></div>
363
+ </div>
364
+ <p class="since">Since 3.0</p>
365
+ </div>
366
+ <hr>
367
+ <div class="refsect2">
368
+ <a name="clutter-gst-video-sink-get-overlays"></a><h3>clutter_gst_video_sink_get_overlays ()</h3>
369
+ <pre class="programlisting"><span class="returnvalue">ClutterGstOverlays</span> *
370
+ clutter_gst_video_sink_get_overlays (<em class="parameter"><code><a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a> *sink</code></em>);</pre>
371
+ <p>
372
+ </p>
373
+ <div class="refsect3">
374
+ <a name="id-1.5.2.11.7.5"></a><h4>Returns</h4>
375
+ <p></p>
376
+ </div>
377
+ </div>
378
+ </div>
379
+ <div class="refsect1">
380
+ <a name="clutter-gst-Video-Sink.other_details"></a><h2>Types and Values</h2>
381
+ <div class="refsect2">
382
+ <a name="ClutterGstVideoSink-struct"></a><h3>struct ClutterGstVideoSink</h3>
383
+ <pre class="programlisting">struct ClutterGstVideoSink;</pre>
384
+ <p>The <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a> structure contains only private data and
385
+ should be accessed using the provided API.</p>
386
+ <p class="since">Since 3.0</p>
387
+ </div>
388
+ <hr>
389
+ <div class="refsect2">
390
+ <a name="ClutterGstVideoSinkClass"></a><h3>struct ClutterGstVideoSinkClass</h3>
391
+ <pre class="programlisting">struct ClutterGstVideoSinkClass {
392
+ void (* new_frame) (ClutterGstVideoSink *sink);
393
+ void (* pipeline_ready) (ClutterGstVideoSink *sink);
394
+ void (* new_overlays) (ClutterGstVideoSink *sink);
395
+ };
396
+ </pre>
397
+ <div class="refsect3">
398
+ <a name="id-1.5.2.12.3.4"></a><h4>Members</h4>
399
+ <div class="informaltable"><table width="100%" border="0">
400
+ <colgroup>
401
+ <col width="300px" class="struct_members_name">
402
+ <col class="struct_members_description">
403
+ <col width="200px" class="struct_members_annotations">
404
+ </colgroup>
405
+ <tbody>
406
+ <tr>
407
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterGstVideoSinkClass.new-frame"></a>new_frame</code></em> ()</p></td>
408
+ <td class="struct_member_description"><p>handler for the <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-new-frame" title="The “new-frame” signal"><span class="type">“new-frame”</span></a> signal</p></td>
409
+ <td class="struct_member_annotations"> </td>
410
+ </tr>
411
+ <tr>
412
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterGstVideoSinkClass.pipeline-ready"></a>pipeline_ready</code></em> ()</p></td>
413
+ <td class="struct_member_description"><p>handler for the <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-pipeline-ready" title="The “pipeline-ready” signal"><span class="type">“pipeline-ready”</span></a> signal</p></td>
414
+ <td class="struct_member_annotations"> </td>
415
+ </tr>
416
+ <tr>
417
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterGstVideoSinkClass.new-overlays"></a>new_overlays</code></em> ()</p></td>
418
+ <td class="struct_member_description"> </td>
419
+ <td class="struct_member_annotations"> </td>
420
+ </tr>
421
+ </tbody>
422
+ </table></div>
423
+ </div>
424
+ <p class="since">Since 3.0</p>
425
+ </div>
426
+ </div>
427
+ <div class="refsect1">
428
+ <a name="clutter-gst-Video-Sink.property-details"></a><h2>Property Details</h2>
429
+ <div class="refsect2">
430
+ <a name="ClutterGstVideoSink--update-priority"></a><h3>The <code class="literal">“update-priority”</code> property</h3>
431
+ <pre class="programlisting"> “update-priority” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
432
+ <p>Priority of video updates in the thread.</p>
433
+ <p>Flags: Read / Write</p>
434
+ <p>Allowed values: &gt;= -2147483647</p>
435
+ <p>Default value: 100</p>
436
+ </div>
437
+ </div>
438
+ <div class="refsect1">
439
+ <a name="clutter-gst-Video-Sink.signal-details"></a><h2>Signal Details</h2>
440
+ <div class="refsect2">
441
+ <a name="ClutterGstVideoSink-new-frame"></a><h3>The <code class="literal">“new-frame”</code> signal</h3>
442
+ <pre class="programlisting"><span class="returnvalue">void</span>
443
+ user_function (<a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a> *sink,
444
+ <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
445
+ <p>The sink will emit this signal whenever there are new textures
446
+ available for a new frame of the video. After this signal is
447
+ emitted, an application can call <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-get-pipeline" title="clutter_gst_video_sink_get_pipeline ()"><code class="function">clutter_gst_video_sink_get_pipeline()</code></a>
448
+ to get a pipeline suitable for rendering the frame. If the
449
+ application is using a custom pipeline it can alternatively call
450
+ <code class="function">clutter_gst_video_sink_attach_frame()</code> to attach the textures.</p>
451
+ <div class="refsect3">
452
+ <a name="id-1.5.2.14.2.5"></a><h4>Parameters</h4>
453
+ <div class="informaltable"><table width="100%" border="0">
454
+ <colgroup>
455
+ <col width="150px" class="parameters_name">
456
+ <col class="parameters_description">
457
+ <col width="200px" class="parameters_annotations">
458
+ </colgroup>
459
+ <tbody>
460
+ <tr>
461
+ <td class="parameter_name"><p>sink</p></td>
462
+ <td class="parameter_description"><p>the <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a></p></td>
463
+ <td class="parameter_annotations"> </td>
464
+ </tr>
465
+ <tr>
466
+ <td class="parameter_name"><p>user_data</p></td>
467
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
468
+ <td class="parameter_annotations"> </td>
469
+ </tr>
470
+ </tbody>
471
+ </table></div>
472
+ </div>
473
+ <p>Flags: Run Last</p>
474
+ <p class="since">Since 3.0</p>
475
+ </div>
476
+ <hr>
477
+ <div class="refsect2">
478
+ <a name="ClutterGstVideoSink-new-overlays"></a><h3>The <code class="literal">“new-overlays”</code> signal</h3>
479
+ <pre class="programlisting"><span class="returnvalue">void</span>
480
+ user_function (<a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a> *sink,
481
+ <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
482
+ <p>The sink will emit this signal whenever there are new textures
483
+ available for set of overlays on the video. After this signal is
484
+ emitted, an application can call
485
+ <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-get-overlays" title="clutter_gst_video_sink_get_overlays ()"><code class="function">clutter_gst_video_sink_get_overlays()</code></a> to get a set of pipelines
486
+ suitable for rendering overlays on a video frame.</p>
487
+ <div class="refsect3">
488
+ <a name="id-1.5.2.14.3.5"></a><h4>Parameters</h4>
489
+ <div class="informaltable"><table width="100%" border="0">
490
+ <colgroup>
491
+ <col width="150px" class="parameters_name">
492
+ <col class="parameters_description">
493
+ <col width="200px" class="parameters_annotations">
494
+ </colgroup>
495
+ <tbody>
496
+ <tr>
497
+ <td class="parameter_name"><p>sink</p></td>
498
+ <td class="parameter_description"><p>the <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a></p></td>
499
+ <td class="parameter_annotations"> </td>
500
+ </tr>
501
+ <tr>
502
+ <td class="parameter_name"><p>user_data</p></td>
503
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
504
+ <td class="parameter_annotations"> </td>
505
+ </tr>
506
+ </tbody>
507
+ </table></div>
508
+ </div>
509
+ <p>Flags: Run Last</p>
510
+ <p class="since">Since 3.0</p>
511
+ </div>
512
+ <hr>
513
+ <div class="refsect2">
514
+ <a name="ClutterGstVideoSink-pipeline-ready"></a><h3>The <code class="literal">“pipeline-ready”</code> signal</h3>
515
+ <pre class="programlisting"><span class="returnvalue">void</span>
516
+ user_function (<a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a> *sink,
517
+ <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
518
+ <p>The sink will emit this signal as soon as it has gathered enough
519
+ information from the video to configure a pipeline. If the
520
+ application wants to do some customized rendering, it can setup its
521
+ pipeline after this signal is emitted. The application's pipeline
522
+ will typically either be a copy of the one returned by
523
+ <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-get-pipeline" title="clutter_gst_video_sink_get_pipeline ()"><code class="function">clutter_gst_video_sink_get_pipeline()</code></a> or it can be a completely custom
524
+ pipeline which is setup using <a class="link" href="clutter-gst-Video-Sink.html#clutter-gst-video-sink-setup-pipeline" title="clutter_gst_video_sink_setup_pipeline ()"><code class="function">clutter_gst_video_sink_setup_pipeline()</code></a>.</p>
525
+ <p>Note that it is an error to call either of those functions before
526
+ this signal is emitted. The <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink-new-frame" title="The “new-frame” signal"><span class="type">“new-frame”</span></a> signal
527
+ will only be emitted after the pipeline is ready so the application
528
+ could also create its pipeline in the handler for that.</p>
529
+ <div class="refsect3">
530
+ <a name="id-1.5.2.14.4.6"></a><h4>Parameters</h4>
531
+ <div class="informaltable"><table width="100%" border="0">
532
+ <colgroup>
533
+ <col width="150px" class="parameters_name">
534
+ <col class="parameters_description">
535
+ <col width="200px" class="parameters_annotations">
536
+ </colgroup>
537
+ <tbody>
538
+ <tr>
539
+ <td class="parameter_name"><p>sink</p></td>
540
+ <td class="parameter_description"><p>the <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a></p></td>
541
+ <td class="parameter_annotations"> </td>
542
+ </tr>
543
+ <tr>
544
+ <td class="parameter_name"><p>user_data</p></td>
545
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
546
+ <td class="parameter_annotations"> </td>
547
+ </tr>
548
+ </tbody>
549
+ </table></div>
550
+ </div>
551
+ <p>Flags: Run Last</p>
552
+ <p class="since">Since 3.0</p>
553
+ </div>
554
+ </div>
555
+ </div>
556
+ <div class="footer">
557
+ <hr>
558
+ Generated by GTK-Doc V1.21</div>
559
+ </body>
560
+ </html>