clutter-gstreamer 2.2.4-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Rakefile +70 -0
- data/lib/clutter-gst.rb +79 -0
- data/lib/clutter-gstreamer.rb +17 -0
- data/sample/media-actions-pause.png +0 -0
- data/sample/media-actions-start.png +0 -0
- data/sample/vid-panel.png +0 -0
- data/sample/video-player.rb +376 -0
- data/sample/video-sink-navigation.rb +98 -0
- data/sample/video-sink.rb +87 -0
- data/test/clutter-gstreamer-test-utils.rb +41 -0
- data/test/run-test.rb +63 -0
- data/test/test-clutter-gst.rb +26 -0
- data/vendor/local/bin/libclutter-gst-3.0-0.dll +0 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-aspectratio.h +105 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-camera-device.h +119 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-camera-manager.h +100 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-camera.h +206 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-content.h +107 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-crop.h +104 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-enum-types.h +23 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-playback.h +169 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-player.h +157 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-types.h +167 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-util.h +53 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-version.h +98 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-video-sink.h +124 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst.h +47 -0
- data/vendor/local/lib/girepository-1.0/ClutterGst-3.0.typelib +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter-3.0.dll +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter-3.0.dll.a +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter-3.0.la +41 -0
- data/vendor/local/lib/libclutter-gst-3.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-gst-3.0.la +41 -0
- data/vendor/local/lib/pkgconfig/clutter-gst-3.0.pc +12 -0
- data/vendor/local/share/gir-1.0/ClutterGst-3.0.gir +3308 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstAspectratio.html +171 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCamera.html +1528 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCameraDevice.html +418 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstContent.html +551 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCrop.html +198 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstPlayback.html +1559 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstPlayer.html +805 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch01.html +33 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch02.html +42 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch03.html +45 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch04.html +35 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch05.html +39 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-3.0.devhelp2 +197 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Utilities.html +316 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Versioning-Macros.html +176 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Video-Sink.html +560 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/index.html +98 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/index.sgml +273 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/license.html +59 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/up.png +0 -0
- data/vendor/local/share/license/clutter-gst/AUTHORS +7 -0
- data/vendor/local/share/license/clutter-gst/COPYING +502 -0
- metadata +163 -0
@@ -0,0 +1,176 @@
|
|
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: Versioning Macros</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="ch05.html" title="ClutterGst utils">
|
10
|
+
<link rel="prev" href="clutter-gst-Utilities.html" title="Utilities">
|
11
|
+
<link rel="next" href="license.html" title="Appendix A. License">
|
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-Versioning-Macros.description" class="shortcut">Description</a></span>
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="ch05.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="clutter-gst-Utilities.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="license.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
26
|
+
<div class="refentry">
|
27
|
+
<a name="clutter-gst-Versioning-Macros"></a><div class="titlepage"></div>
|
28
|
+
<div class="refnamediv"><table width="100%"><tr>
|
29
|
+
<td valign="top">
|
30
|
+
<h2><span class="refentrytitle"><a name="clutter-gst-Versioning-Macros.top_of_page"></a>Versioning Macros</span></h2>
|
31
|
+
<p>Versioning Macros — Versioning Macros</p>
|
32
|
+
</td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
34
|
+
</tr></table></div>
|
35
|
+
<div class="refsect1">
|
36
|
+
<a name="clutter-gst-Versioning-Macros.functions"></a><h2>Functions</h2>
|
37
|
+
<div class="informaltable"><table width="100%" border="0">
|
38
|
+
<colgroup>
|
39
|
+
<col width="150px" class="functions_return">
|
40
|
+
<col class="functions_name">
|
41
|
+
</colgroup>
|
42
|
+
<tbody>
|
43
|
+
<tr>
|
44
|
+
<td class="define_keyword">#define</td>
|
45
|
+
<td class="function_name"><a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-MAJOR-VERSION:CAPS" title="CLUTTER_GST_MAJOR_VERSION">CLUTTER_GST_MAJOR_VERSION</a></td>
|
46
|
+
</tr>
|
47
|
+
<tr>
|
48
|
+
<td class="define_keyword">#define</td>
|
49
|
+
<td class="function_name"><a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-MINOR-VERSION:CAPS" title="CLUTTER_GST_MINOR_VERSION">CLUTTER_GST_MINOR_VERSION</a></td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="define_keyword">#define</td>
|
53
|
+
<td class="function_name"><a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-MICRO-VERSION:CAPS" title="CLUTTER_GST_MICRO_VERSION">CLUTTER_GST_MICRO_VERSION</a></td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
<td class="define_keyword">#define</td>
|
57
|
+
<td class="function_name"><a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION:CAPS" title="CLUTTER_GST_VERSION">CLUTTER_GST_VERSION</a></td>
|
58
|
+
</tr>
|
59
|
+
<tr>
|
60
|
+
<td class="define_keyword">#define</td>
|
61
|
+
<td class="function_name"><a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION-HEX:CAPS" title="CLUTTER_GST_VERSION_HEX">CLUTTER_GST_VERSION_HEX</a></td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td class="define_keyword">#define</td>
|
65
|
+
<td class="function_name">
|
66
|
+
<a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-CHECK-VERSION:CAPS" title="CLUTTER_GST_CHECK_VERSION()">CLUTTER_GST_CHECK_VERSION</a><span class="c_punctuation">()</span>
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
</tbody>
|
70
|
+
</table></div>
|
71
|
+
</div>
|
72
|
+
<div class="refsect1">
|
73
|
+
<a name="clutter-gst-Versioning-Macros.other"></a><h2>Types and Values</h2>
|
74
|
+
<div class="informaltable"><table width="100%" border="0">
|
75
|
+
<colgroup>
|
76
|
+
<col width="150px" class="name">
|
77
|
+
<col class="description">
|
78
|
+
</colgroup>
|
79
|
+
<tbody><tr>
|
80
|
+
<td class="define_keyword">#define</td>
|
81
|
+
<td class="function_name"><a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION-S:CAPS" title="CLUTTER_GST_VERSION_S">CLUTTER_GST_VERSION_S</a></td>
|
82
|
+
</tr></tbody>
|
83
|
+
</table></div>
|
84
|
+
</div>
|
85
|
+
<div class="refsect1">
|
86
|
+
<a name="clutter-gst-Versioning-Macros.description"></a><h2>Description</h2>
|
87
|
+
<p>Version checking macros.</p>
|
88
|
+
</div>
|
89
|
+
<div class="refsect1">
|
90
|
+
<a name="clutter-gst-Versioning-Macros.functions_details"></a><h2>Functions</h2>
|
91
|
+
<div class="refsect2">
|
92
|
+
<a name="CLUTTER-GST-MAJOR-VERSION:CAPS"></a><h3>CLUTTER_GST_MAJOR_VERSION</h3>
|
93
|
+
<pre class="programlisting">#define CLUTTER_GST_MAJOR_VERSION (3)
|
94
|
+
</pre>
|
95
|
+
<p>ClutterGst major version (e.g. "1", if <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION:CAPS" title="CLUTTER_GST_VERSION"><code class="literal">CLUTTER_GST_VERSION</code></a> is "1.2.3")</p>
|
96
|
+
</div>
|
97
|
+
<hr>
|
98
|
+
<div class="refsect2">
|
99
|
+
<a name="CLUTTER-GST-MINOR-VERSION:CAPS"></a><h3>CLUTTER_GST_MINOR_VERSION</h3>
|
100
|
+
<pre class="programlisting">#define CLUTTER_GST_MINOR_VERSION (0)
|
101
|
+
</pre>
|
102
|
+
<p>ClutterGst minor version (e.g. "2", if <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION:CAPS" title="CLUTTER_GST_VERSION"><code class="literal">CLUTTER_GST_VERSION</code></a> is "1.2.3")</p>
|
103
|
+
</div>
|
104
|
+
<hr>
|
105
|
+
<div class="refsect2">
|
106
|
+
<a name="CLUTTER-GST-MICRO-VERSION:CAPS"></a><h3>CLUTTER_GST_MICRO_VERSION</h3>
|
107
|
+
<pre class="programlisting">#define CLUTTER_GST_MICRO_VERSION (0)
|
108
|
+
</pre>
|
109
|
+
<p>ClutterGst micro version (e.g. "3", if <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION:CAPS" title="CLUTTER_GST_VERSION"><code class="literal">CLUTTER_GST_VERSION</code></a> is "1.2.3")</p>
|
110
|
+
</div>
|
111
|
+
<hr>
|
112
|
+
<div class="refsect2">
|
113
|
+
<a name="CLUTTER-GST-VERSION:CAPS"></a><h3>CLUTTER_GST_VERSION</h3>
|
114
|
+
<pre class="programlisting">#define CLUTTER_GST_VERSION (3.0.0)
|
115
|
+
</pre>
|
116
|
+
<p>ClutterGst full version (e.g. "1.2.3")</p>
|
117
|
+
</div>
|
118
|
+
<hr>
|
119
|
+
<div class="refsect2">
|
120
|
+
<a name="CLUTTER-GST-VERSION-HEX:CAPS"></a><h3>CLUTTER_GST_VERSION_HEX</h3>
|
121
|
+
<pre class="programlisting">#define CLUTTER_GST_VERSION_HEX</pre>
|
122
|
+
<p>ClutterGst full version, encoded as an hexadecimal value.</p>
|
123
|
+
</div>
|
124
|
+
<hr>
|
125
|
+
<div class="refsect2">
|
126
|
+
<a name="CLUTTER-GST-CHECK-VERSION:CAPS"></a><h3>CLUTTER_GST_CHECK_VERSION()</h3>
|
127
|
+
<pre class="programlisting">#define CLUTTER_GST_CHECK_VERSION(major,minor,micro)</pre>
|
128
|
+
<p>Evaluates to <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the version of ClutterGst is greater than
|
129
|
+
the <em class="parameter"><code>major</code></em>
|
130
|
+
, <em class="parameter"><code>minor</code></em>
|
131
|
+
and <em class="parameter"><code>micro</code></em>
|
132
|
+
values.</p>
|
133
|
+
<div class="refsect3">
|
134
|
+
<a name="id-1.6.3.6.7.5"></a><h4>Parameters</h4>
|
135
|
+
<div class="informaltable"><table width="100%" border="0">
|
136
|
+
<colgroup>
|
137
|
+
<col width="150px" class="parameters_name">
|
138
|
+
<col class="parameters_description">
|
139
|
+
<col width="200px" class="parameters_annotations">
|
140
|
+
</colgroup>
|
141
|
+
<tbody>
|
142
|
+
<tr>
|
143
|
+
<td class="parameter_name"><p>major</p></td>
|
144
|
+
<td class="parameter_description"><p>major version, like 1 in 1.2.3</p></td>
|
145
|
+
<td class="parameter_annotations"> </td>
|
146
|
+
</tr>
|
147
|
+
<tr>
|
148
|
+
<td class="parameter_name"><p>minor</p></td>
|
149
|
+
<td class="parameter_description"><p>minor version, like 2 in 1.2.3</p></td>
|
150
|
+
<td class="parameter_annotations"> </td>
|
151
|
+
</tr>
|
152
|
+
<tr>
|
153
|
+
<td class="parameter_name"><p>micro</p></td>
|
154
|
+
<td class="parameter_description"><p>micro version, like 3 in 1.2.3</p></td>
|
155
|
+
<td class="parameter_annotations"> </td>
|
156
|
+
</tr>
|
157
|
+
</tbody>
|
158
|
+
</table></div>
|
159
|
+
</div>
|
160
|
+
</div>
|
161
|
+
</div>
|
162
|
+
<div class="refsect1">
|
163
|
+
<a name="clutter-gst-Versioning-Macros.other_details"></a><h2>Types and Values</h2>
|
164
|
+
<div class="refsect2">
|
165
|
+
<a name="CLUTTER-GST-VERSION-S:CAPS"></a><h3>CLUTTER_GST_VERSION_S</h3>
|
166
|
+
<pre class="programlisting">#define CLUTTER_GST_VERSION_S "3.0.0"
|
167
|
+
</pre>
|
168
|
+
<p>ClutterGst full version, encoded as a string.</p>
|
169
|
+
</div>
|
170
|
+
</div>
|
171
|
+
</div>
|
172
|
+
<div class="footer">
|
173
|
+
<hr>
|
174
|
+
Generated by GTK-Doc V1.21</div>
|
175
|
+
</body>
|
176
|
+
</html>
|
@@ -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.win64/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.win64/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.win64/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.win64/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.win64/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.win64/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.win64/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.win64/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: >= -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.win64/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.win64/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.win64/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>
|