clutter-gstreamer 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -10
- data/dependency-check/Rakefile +40 -0
- data/test/clutter-gstreamer-test-utils.rb +0 -4
- data/test/run-test.rb +3 -1
- data/vendor/local/bin/libclutter-gst-3.0-0.dll +0 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-version.h +3 -3
- 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/libclutter-gst-3.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-gst-3.0.la +2 -2
- data/vendor/local/lib/pkgconfig/clutter-gst-3.0.pc +1 -1
- data/vendor/local/share/gir-1.0/ClutterGst-3.0.gir +2 -2
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstAspectratio.html +8 -9
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCamera.html +49 -115
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCameraDevice.html +14 -15
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCameraManager.html +10 -11
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstContent.html +30 -31
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCrop.html +10 -11
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstPlayback.html +78 -107
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstPlayer.html +37 -41
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/annotation-glossary.html +6 -7
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/api-index-1-4.html +6 -7
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/api-index-1-6.html +6 -7
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/api-index-3-0.html +6 -7
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/api-index-all.html +6 -7
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch01.html +7 -8
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch02.html +6 -7
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch03.html +6 -7
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch04.html +6 -7
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch05.html +6 -7
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-3.0.devhelp2 +23 -4
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Types.html +19 -20
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Utilities.html +49 -103
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Versioning-Macros.html +58 -59
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Video-Sink.html +27 -33
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/index.html +7 -8
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/license.html +6 -7
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/profile.txt +2206 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/style.css +9 -6
- metadata +11 -10
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/index.sgml +0 -316
@@ -1,6 +1,5 @@
|
|
1
1
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2
|
-
|
3
|
-
<book xmlns="http://www.devhelp.net/book" title="Clutter Gst 3.0.22 Reference Manual" link="index.html" author="" name="clutter-gst" version="2" language="c">
|
2
|
+
<book xmlns="http://www.devhelp.net/book" title="Clutter Gst 3.0.24 Reference Manual" link="index.html" author="" name="clutter-gst" version="2" language="c">
|
4
3
|
<chapters>
|
5
4
|
<sub name="Clutter Gst Overview" link="ch01.html"/>
|
6
5
|
<sub name="Clutter content objects" link="ch02.html">
|
@@ -208,12 +207,32 @@
|
|
208
207
|
<keyword type="function" name="clutter_gst_init ()" link="clutter-gst-Utilities.html#clutter-gst-init"/>
|
209
208
|
<keyword type="function" name="clutter_gst_init_with_args ()" link="clutter-gst-Utilities.html#clutter-gst-init-with-args" since="1.0"/>
|
210
209
|
<keyword type="function" name="clutter_gst_create_video_sink ()" link="clutter-gst-Utilities.html#clutter-gst-create-video-sink" since="3.0"/>
|
210
|
+
<keyword type="macro" name="CLUTTER_GST_CHECK_VERSION()" link="clutter-gst-Versioning-Macros.html#CLUTTER-GST-CHECK-VERSION:CAPS"/>
|
211
211
|
<keyword type="macro" name="CLUTTER_GST_MAJOR_VERSION" link="clutter-gst-Versioning-Macros.html#CLUTTER-GST-MAJOR-VERSION:CAPS"/>
|
212
212
|
<keyword type="macro" name="CLUTTER_GST_MINOR_VERSION" link="clutter-gst-Versioning-Macros.html#CLUTTER-GST-MINOR-VERSION:CAPS"/>
|
213
213
|
<keyword type="macro" name="CLUTTER_GST_MICRO_VERSION" link="clutter-gst-Versioning-Macros.html#CLUTTER-GST-MICRO-VERSION:CAPS"/>
|
214
214
|
<keyword type="macro" name="CLUTTER_GST_VERSION" link="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION:CAPS"/>
|
215
|
-
<keyword type="macro" name="CLUTTER_GST_VERSION_HEX" link="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION-HEX:CAPS"/>
|
216
|
-
<keyword type="macro" name="CLUTTER_GST_CHECK_VERSION()" link="clutter-gst-Versioning-Macros.html#CLUTTER-GST-CHECK-VERSION:CAPS"/>
|
217
215
|
<keyword type="macro" name="CLUTTER_GST_VERSION_S" link="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION-S:CAPS"/>
|
216
|
+
<keyword type="macro" name="CLUTTER_GST_VERSION_HEX" link="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION-HEX:CAPS"/>
|
217
|
+
<keyword type="constant" name="CLUTTER_GST_BUFFERING_MODE_STREAM" link="clutter-gst-Types.html#CLUTTER-GST-BUFFERING-MODE-STREAM:CAPS"/>
|
218
|
+
<keyword type="constant" name="CLUTTER_GST_BUFFERING_MODE_DOWNLOAD" link="clutter-gst-Types.html#CLUTTER-GST-BUFFERING-MODE-DOWNLOAD:CAPS"/>
|
219
|
+
<keyword type="constant" name="CLUTTER_GST_SEEK_FLAG_NONE" link="clutter-gst-Types.html#CLUTTER-GST-SEEK-FLAG-NONE:CAPS"/>
|
220
|
+
<keyword type="constant" name="CLUTTER_GST_SEEK_FLAG_ACCURATE" link="clutter-gst-Types.html#CLUTTER-GST-SEEK-FLAG-ACCURATE:CAPS"/>
|
221
|
+
<keyword type="member" name="ClutterGstPlayerIface.get-frame" link="ClutterGstPlayer.html#ClutterGstPlayerIface.get-frame"/>
|
222
|
+
<keyword type="member" name="ClutterGstPlayerIface.get-pipeline" link="ClutterGstPlayer.html#ClutterGstPlayerIface.get-pipeline"/>
|
223
|
+
<keyword type="member" name="ClutterGstPlayerIface.get-video-sink" link="ClutterGstPlayer.html#ClutterGstPlayerIface.get-video-sink"/>
|
224
|
+
<keyword type="member" name="ClutterGstPlayerIface.get-idle" link="ClutterGstPlayer.html#ClutterGstPlayerIface.get-idle"/>
|
225
|
+
<keyword type="member" name="ClutterGstPlayerIface.get-audio-volume" link="ClutterGstPlayer.html#ClutterGstPlayerIface.get-audio-volume"/>
|
226
|
+
<keyword type="member" name="ClutterGstPlayerIface.set-audio-volume" link="ClutterGstPlayer.html#ClutterGstPlayerIface.set-audio-volume"/>
|
227
|
+
<keyword type="member" name="ClutterGstPlayerIface.get-playing" link="ClutterGstPlayer.html#ClutterGstPlayerIface.get-playing"/>
|
228
|
+
<keyword type="member" name="ClutterGstPlayerIface.set-playing" link="ClutterGstPlayer.html#ClutterGstPlayerIface.set-playing"/>
|
229
|
+
<keyword type="member" name="ClutterGstPlayerIface.new-frame" link="ClutterGstPlayer.html#ClutterGstPlayerIface.new-frame"/>
|
230
|
+
<keyword type="member" name="ClutterGstPlayerIface.ready" link="ClutterGstPlayer.html#ClutterGstPlayerIface.ready"/>
|
231
|
+
<keyword type="member" name="ClutterGstPlayerIface.eos" link="ClutterGstPlayer.html#ClutterGstPlayerIface.eos"/>
|
232
|
+
<keyword type="member" name="ClutterGstPlayerIface.error" link="ClutterGstPlayer.html#ClutterGstPlayerIface.error"/>
|
233
|
+
<keyword type="member" name="ClutterGstPlayerIface.size-change" link="ClutterGstPlayer.html#ClutterGstPlayerIface.size-change"/>
|
234
|
+
<keyword type="member" name="ClutterGstVideoSinkClass.new-frame" link="clutter-gst-Video-Sink.html#ClutterGstVideoSinkClass.new-frame"/>
|
235
|
+
<keyword type="member" name="ClutterGstVideoSinkClass.pipeline-ready" link="clutter-gst-Video-Sink.html#ClutterGstVideoSinkClass.pipeline-ready"/>
|
236
|
+
<keyword type="member" name="ClutterGstVideoSinkClass.new-overlays" link="clutter-gst-Video-Sink.html#ClutterGstVideoSinkClass.new-overlays"/>
|
218
237
|
</functions>
|
219
238
|
</book>
|
@@ -2,14 +2,14 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Clutter Gst 3.0.
|
6
|
-
Reference Manual
|
5
|
+
<title>ClutterGstTypes: Clutter Gst 3.0.24
|
6
|
+
Reference Manual</title>
|
7
7
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
8
|
-
<link rel="home" href="index.html" title="Clutter Gst 3.0.
|
8
|
+
<link rel="home" href="index.html" title="Clutter Gst 3.0.24 Reference Manual">
|
9
9
|
<link rel="up" href="ch05.html" title="ClutterGst utils">
|
10
10
|
<link rel="prev" href="ch05.html" title="ClutterGst utils">
|
11
11
|
<link rel="next" href="clutter-gst-Utilities.html" title="Utilities">
|
12
|
-
<meta name="generator" content="GTK-Doc V1.
|
12
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
13
13
|
<link rel="stylesheet" href="style.css" type="text/css">
|
14
14
|
</head>
|
15
15
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -101,14 +101,14 @@
|
|
101
101
|
</div>
|
102
102
|
<div class="refsect1">
|
103
103
|
<a name="clutter-gst-Types.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
104
|
-
<pre class="screen"> GBoxed
|
104
|
+
<pre class="screen"> <a href="/home/djdeath/src/gnome-build/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
|
105
105
|
<span class="lineart">├──</span> ClutterGstBox
|
106
106
|
<span class="lineart">├──</span> ClutterGstFrame
|
107
107
|
<span class="lineart">├──</span> ClutterGstOverlay
|
108
108
|
<span class="lineart">╰──</span> ClutterGstOverlays
|
109
|
-
GEnum
|
109
|
+
<a href="/home/djdeath/src/gnome-build/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
110
110
|
<span class="lineart">╰──</span> ClutterGstBufferingMode
|
111
|
-
GFlags
|
111
|
+
<a href="/home/djdeath/src/gnome-build/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
112
112
|
<span class="lineart">╰──</span> ClutterGstSeekFlags
|
113
113
|
</pre>
|
114
114
|
</div>
|
@@ -121,14 +121,14 @@
|
|
121
121
|
<a name="clutter-gst-box-get-width"></a><h3>clutter_gst_box_get_width ()</h3>
|
122
122
|
<pre class="programlisting"><span class="returnvalue">gfloat</span>
|
123
123
|
clutter_gst_box_get_width (<em class="parameter"><code>const <a class="link" href="clutter-gst-Types.html#ClutterGstBox"><span class="type">ClutterGstBox</span></a> *box</code></em>);</pre>
|
124
|
-
<p class="since">Since 3.0</p>
|
124
|
+
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
125
125
|
</div>
|
126
126
|
<hr>
|
127
127
|
<div class="refsect2">
|
128
128
|
<a name="clutter-gst-box-get-height"></a><h3>clutter_gst_box_get_height ()</h3>
|
129
129
|
<pre class="programlisting"><span class="returnvalue">gfloat</span>
|
130
130
|
clutter_gst_box_get_height (<em class="parameter"><code>const <a class="link" href="clutter-gst-Types.html#ClutterGstBox"><span class="type">ClutterGstBox</span></a> *box</code></em>);</pre>
|
131
|
-
<p class="since">Since 3.0</p>
|
131
|
+
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
132
132
|
</div>
|
133
133
|
</div>
|
134
134
|
<div class="refsect1">
|
@@ -137,7 +137,7 @@ clutter_gst_box_get_height (<em class="parameter"><code>const <a class="link" hr
|
|
137
137
|
<a name="ClutterGstBufferingMode"></a><h3>enum ClutterGstBufferingMode</h3>
|
138
138
|
<p>Different buffering policies clutter-gst supports</p>
|
139
139
|
<div class="refsect3">
|
140
|
-
<a name="
|
140
|
+
<a name="ClutterGstBufferingMode.members"></a><h4>Members</h4>
|
141
141
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
142
142
|
<colgroup>
|
143
143
|
<col width="300px" class="enum_members_name">
|
@@ -162,14 +162,14 @@ clutter_gst_box_get_height (<em class="parameter"><code>const <a class="link" hr
|
|
162
162
|
</tbody>
|
163
163
|
</table></div>
|
164
164
|
</div>
|
165
|
-
<p class="since">Since 1.4</p>
|
165
|
+
<p class="since">Since: <a class="link" href="api-index-1-4.html#api-index-1.4">1.4</a></p>
|
166
166
|
</div>
|
167
167
|
<hr>
|
168
168
|
<div class="refsect2">
|
169
169
|
<a name="ClutterGstSeekFlags"></a><h3>enum ClutterGstSeekFlags</h3>
|
170
170
|
<p>Flags that can be given to <code class="function">clutter_gst_player_set_seek_flags()</code>.</p>
|
171
171
|
<div class="refsect3">
|
172
|
-
<a name="
|
172
|
+
<a name="ClutterGstSeekFlags.members"></a><h4>Members</h4>
|
173
173
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
174
174
|
<colgroup>
|
175
175
|
<col width="300px" class="enum_members_name">
|
@@ -194,7 +194,7 @@ clutter_gst_box_get_height (<em class="parameter"><code>const <a class="link" hr
|
|
194
194
|
</tbody>
|
195
195
|
</table></div>
|
196
196
|
</div>
|
197
|
-
<p class="since">Since 1.4</p>
|
197
|
+
<p class="since">Since: <a class="link" href="api-index-1-4.html#api-index-1.4">1.4</a></p>
|
198
198
|
</div>
|
199
199
|
<hr>
|
200
200
|
<div class="refsect2">
|
@@ -207,7 +207,7 @@ clutter_gst_box_get_height (<em class="parameter"><code>const <a class="link" hr
|
|
207
207
|
gfloat y2;
|
208
208
|
};
|
209
209
|
</pre>
|
210
|
-
<p class="since">Since 3.0</p>
|
210
|
+
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
211
211
|
</div>
|
212
212
|
<hr>
|
213
213
|
<div class="refsect2">
|
@@ -217,7 +217,7 @@ clutter_gst_box_get_height (<em class="parameter"><code>const <a class="link" hr
|
|
217
217
|
CoglPipeline *pipeline;
|
218
218
|
};
|
219
219
|
</pre>
|
220
|
-
<p class="since">Since 3.0</p>
|
220
|
+
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
221
221
|
</div>
|
222
222
|
<hr>
|
223
223
|
<div class="refsect2">
|
@@ -227,7 +227,7 @@ clutter_gst_box_get_height (<em class="parameter"><code>const <a class="link" hr
|
|
227
227
|
CoglPipeline *pipeline;
|
228
228
|
};
|
229
229
|
</pre>
|
230
|
-
<p class="since">Since 3.0</p>
|
230
|
+
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
231
231
|
</div>
|
232
232
|
<hr>
|
233
233
|
<div class="refsect2">
|
@@ -236,7 +236,7 @@ clutter_gst_box_get_height (<em class="parameter"><code>const <a class="link" hr
|
|
236
236
|
GPtrArray *overlays;
|
237
237
|
};
|
238
238
|
</pre>
|
239
|
-
<p class="since">Since 3.0</p>
|
239
|
+
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
240
240
|
</div>
|
241
241
|
<hr>
|
242
242
|
<div class="refsect2">
|
@@ -249,12 +249,11 @@ clutter_gst_box_get_height (<em class="parameter"><code>const <a class="link" hr
|
|
249
249
|
gint par_d;
|
250
250
|
};
|
251
251
|
</pre>
|
252
|
-
<p class="since">Since 3.0</p>
|
252
|
+
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
253
253
|
</div>
|
254
254
|
</div>
|
255
255
|
</div>
|
256
256
|
<div class="footer">
|
257
|
-
<hr>
|
258
|
-
Generated by GTK-Doc V1.21.1</div>
|
257
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
259
258
|
</body>
|
260
259
|
</html>
|
@@ -2,14 +2,14 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Clutter Gst 3.0.
|
6
|
-
Reference Manual
|
5
|
+
<title>Utilities: Clutter Gst 3.0.24
|
6
|
+
Reference Manual</title>
|
7
7
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
8
|
-
<link rel="home" href="index.html" title="Clutter Gst 3.0.
|
8
|
+
<link rel="home" href="index.html" title="Clutter Gst 3.0.24 Reference Manual">
|
9
9
|
<link rel="up" href="ch05.html" title="ClutterGst utils">
|
10
10
|
<link rel="prev" href="clutter-gst-Types.html" title="ClutterGstTypes">
|
11
11
|
<link rel="next" href="clutter-gst-Versioning-Macros.html" title="Versioning Macros">
|
12
|
-
<meta name="generator" content="GTK-Doc V1.
|
12
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
13
13
|
<link rel="stylesheet" href="style.css" type="text/css">
|
14
14
|
</head>
|
15
15
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -76,29 +76,15 @@ gst can process their own command line options, as shown in the following
|
|
76
76
|
example:</p>
|
77
77
|
<div class="example">
|
78
78
|
<a name="id-1.6.3.4.3"></a><p class="title"><b>Example 1. Initializing the Clutter-Gst library</b></p>
|
79
|
-
<div class="example-contents">
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
6
|
89
|
-
7</pre></td>
|
90
|
-
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">int</span>
|
91
|
-
<span class="function">main</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">int</span> argc<span class="gtkdoc opt">,</span> <span class="gtkdoc kwb">char</span> <span class="gtkdoc opt">*</span>argv<span class="gtkdoc opt">[])</span>
|
92
|
-
<span class="gtkdoc opt">{</span>
|
93
|
-
<span class="gtkdoc slc">// initialize the Clutter-Gst library</span>
|
94
|
-
<span class="function"><a href="clutter-gst-Utilities.html#clutter-gst-init">clutter_gst_init</a></span> <span class="gtkdoc opt">(&</span>argc<span class="gtkdoc opt">, &</span>argv<span class="gtkdoc opt">);</span>
|
95
|
-
<span class="gtkdoc opt">...</span>
|
96
|
-
<span class="gtkdoc opt">}</span></pre></td>
|
97
|
-
</tr>
|
98
|
-
</tbody>
|
99
|
-
</table>
|
100
|
-
</div>
|
101
|
-
|
79
|
+
<div class="example-contents"><pre class="programlisting">
|
80
|
+
int
|
81
|
+
main (int argc, char *argv[])
|
82
|
+
{
|
83
|
+
// initialize the Clutter-Gst library
|
84
|
+
clutter_gst_init (&argc, &argv);
|
85
|
+
...
|
86
|
+
}
|
87
|
+
</pre></div>
|
102
88
|
</div>
|
103
89
|
<br class="example-break"><p>It's allowed to pass two NULL pointers to <a class="link" href="clutter-gst-Utilities.html#clutter-gst-init" title="clutter_gst_init ()"><code class="function">clutter_gst_init()</code></a> in case you
|
104
90
|
don't want to pass the command line arguments to GStreamer, Clutter and
|
@@ -107,75 +93,38 @@ Clutter-Gst.</p>
|
|
107
93
|
as shown in the next code fragment:</p>
|
108
94
|
<div class="example">
|
109
95
|
<a name="id-1.6.3.4.6"></a><p class="title"><b>Example 2. Initializing the Clutter-Gst library with additional options</b></p>
|
110
|
-
<div class="example-contents">
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
6
|
120
|
-
7
|
121
|
-
8
|
122
|
-
9
|
123
|
-
10
|
124
|
-
11
|
125
|
-
12
|
126
|
-
13
|
127
|
-
14
|
128
|
-
15
|
129
|
-
16
|
130
|
-
17
|
131
|
-
18
|
132
|
-
19
|
133
|
-
20
|
134
|
-
21
|
135
|
-
22
|
136
|
-
23
|
137
|
-
24
|
138
|
-
25
|
139
|
-
26
|
140
|
-
27
|
141
|
-
28
|
142
|
-
29
|
143
|
-
30</pre></td>
|
144
|
-
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static</span> GOptionEntry options<span class="gtkdoc opt">[] =</span>
|
145
|
-
<span class="gtkdoc opt">{</span>
|
146
|
-
<span class="gtkdoc opt">{</span> <span class="string">"framerate"</span><span class="gtkdoc opt">,</span> <span class="string">'f'</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> G_OPTION_ARG_INT<span class="gtkdoc opt">, &</span>opt_framerate<span class="gtkdoc opt">,</span>
|
147
|
-
<span class="string">"Number of frames per second"</span><span class="gtkdoc opt">,</span> NULL <span class="gtkdoc opt">},</span>
|
148
|
-
<span class="gtkdoc opt">{</span> <span class="string">"fourcc"</span><span class="gtkdoc opt">,</span> <span class="string">'o'</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> G_OPTION_ARG_STRING<span class="gtkdoc opt">,</span>
|
149
|
-
<span class="gtkdoc opt">&</span>opt_fourcc<span class="gtkdoc opt">,</span> <span class="string">"Fourcc of the wanted YUV format"</span><span class="gtkdoc opt">,</span> NULL <span class="gtkdoc opt">},</span>
|
150
|
-
<span class="gtkdoc opt">{</span> NULL <span class="gtkdoc opt">}</span>
|
151
|
-
<span class="gtkdoc opt">};</span>
|
96
|
+
<div class="example-contents"><pre class="programlisting">
|
97
|
+
static GOptionEntry options[] =
|
98
|
+
{
|
99
|
+
{ "framerate", 'f', 0, G_OPTION_ARG_INT, &opt_framerate,
|
100
|
+
"Number of frames per second", NULL },
|
101
|
+
{ "fourcc", 'o', 0, G_OPTION_ARG_STRING,
|
102
|
+
&opt_fourcc, "Fourcc of the wanted YUV format", NULL },
|
103
|
+
{ NULL }
|
104
|
+
};
|
152
105
|
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
GError
|
157
|
-
gboolean result
|
106
|
+
int
|
107
|
+
main (int argc, char *argv[])
|
108
|
+
{
|
109
|
+
GError *error = NULL;
|
110
|
+
gboolean result;
|
158
111
|
|
159
|
-
|
160
|
-
|
112
|
+
if (!g_thread_supported ())
|
113
|
+
g_thread_init (NULL);
|
161
114
|
|
162
|
-
result
|
163
|
-
|
164
|
-
options
|
165
|
-
|
166
|
-
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>error<span class="gtkdoc opt">)</span>
|
167
|
-
<span class="gtkdoc opt">{</span>
|
168
|
-
<span class="function">g_print</span> <span class="gtkdoc opt">(</span><span class="string">"%s</span><span class="gtkdoc esc">\n</span><span class="string">"</span><span class="gtkdoc opt">,</span> error<span class="gtkdoc opt">-></span>message<span class="gtkdoc opt">);</span>
|
169
|
-
<span class="function">g_error_free</span> <span class="gtkdoc opt">(</span>error<span class="gtkdoc opt">);</span>
|
170
|
-
<span class="keyword">return</span> EXIT_FAILURE<span class="gtkdoc opt">;</span>
|
171
|
-
<span class="gtkdoc opt">}</span>
|
172
|
-
<span class="gtkdoc opt">...</span>
|
173
|
-
<span class="gtkdoc opt">}</span></pre></td>
|
174
|
-
</tr>
|
175
|
-
</tbody>
|
176
|
-
</table>
|
177
|
-
</div>
|
115
|
+
result = clutter_gst_init_with_args (&argc, &argv,
|
116
|
+
" - Test YUV frames uploading",
|
117
|
+
options, NULL, &error);
|
178
118
|
|
119
|
+
if (error)
|
120
|
+
{
|
121
|
+
g_print ("%s\n", error->message);
|
122
|
+
g_error_free (error);
|
123
|
+
return EXIT_FAILURE;
|
124
|
+
}
|
125
|
+
...
|
126
|
+
}
|
127
|
+
</pre></div>
|
179
128
|
</div>
|
180
129
|
<br class="example-break">
|
181
130
|
</div>
|
@@ -191,7 +140,7 @@ clutter_gst_init (<em class="parameter"><code><span class="type">int</span> *arg
|
|
191
140
|
this is not an option, your program must initialise the GLib thread system
|
192
141
|
using <code class="function">g_thread_init()</code> before any other GLib functions are called.</p>
|
193
142
|
<div class="refsect3">
|
194
|
-
<a name="
|
143
|
+
<a name="clutter-gst-init.parameters"></a><h4>Parameters</h4>
|
195
144
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
196
145
|
<colgroup>
|
197
146
|
<col width="150px" class="parameters_name">
|
@@ -214,9 +163,8 @@ using <code class="function">g_thread_init()</code> before any other GLib functi
|
|
214
163
|
</table></div>
|
215
164
|
</div>
|
216
165
|
<div class="refsect3">
|
217
|
-
<a name="
|
166
|
+
<a name="clutter-gst-init.returns"></a><h4>Returns</h4>
|
218
167
|
<p> A <span class="type">ClutterInitError</span>.</p>
|
219
|
-
<p></p>
|
220
168
|
</div>
|
221
169
|
</div>
|
222
170
|
<hr>
|
@@ -236,7 +184,7 @@ generates nicely formatted --help output. Clutter's and GStreamer's
|
|
236
184
|
<p>Your program must initialise the GLib thread system using <code class="function">g_thread_init()</code>
|
237
185
|
before any other GLib functions are called.</p>
|
238
186
|
<div class="refsect3">
|
239
|
-
<a name="
|
187
|
+
<a name="clutter-gst-init-with-args.parameters"></a><h4>Parameters</h4>
|
240
188
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
241
189
|
<colgroup>
|
242
190
|
<col width="150px" class="parameters_name">
|
@@ -284,12 +232,11 @@ with <code class="function">gettext()</code>, or <code class="literal">NULL</cod
|
|
284
232
|
</table></div>
|
285
233
|
</div>
|
286
234
|
<div class="refsect3">
|
287
|
-
<a name="
|
235
|
+
<a name="clutter-gst-init-with-args.returns"></a><h4>Returns</h4>
|
288
236
|
<p> <code class="literal">CLUTTER_INIT_SUCCESS</code> on success, a negative integer
|
289
237
|
on failure.</p>
|
290
|
-
<p></p>
|
291
238
|
</div>
|
292
|
-
<p class="since">Since 1.0</p>
|
239
|
+
<p class="since">Since: 1.0</p>
|
293
240
|
</div>
|
294
241
|
<hr>
|
295
242
|
<div class="refsect2">
|
@@ -298,11 +245,11 @@ on failure.</p>
|
|
298
245
|
clutter_gst_create_video_sink (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
299
246
|
<p>Creates a new <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a> initialized with Clutter's Cogl context.</p>
|
300
247
|
<div class="refsect3">
|
301
|
-
<a name="
|
248
|
+
<a name="clutter-gst-create-video-sink.returns"></a><h4>Returns</h4>
|
302
249
|
<p> the newly created <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a>. </p>
|
303
250
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
304
251
|
</div>
|
305
|
-
<p class="since">Since 3.0</p>
|
252
|
+
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
306
253
|
</div>
|
307
254
|
</div>
|
308
255
|
<div class="refsect1">
|
@@ -310,7 +257,6 @@ clutter_gst_create_video_sink (<em class="parameter"><code><span class="type">vo
|
|
310
257
|
</div>
|
311
258
|
</div>
|
312
259
|
<div class="footer">
|
313
|
-
<hr>
|
314
|
-
Generated by GTK-Doc V1.21.1</div>
|
260
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
315
261
|
</body>
|
316
262
|
</html>
|
@@ -2,14 +2,14 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Clutter Gst 3.0.
|
6
|
-
Reference Manual
|
5
|
+
<title>Versioning Macros: Clutter Gst 3.0.24
|
6
|
+
Reference Manual</title>
|
7
7
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
8
|
-
<link rel="home" href="index.html" title="Clutter Gst 3.0.
|
8
|
+
<link rel="home" href="index.html" title="Clutter Gst 3.0.24 Reference Manual">
|
9
9
|
<link rel="up" href="ch05.html" title="ClutterGst utils">
|
10
10
|
<link rel="prev" href="clutter-gst-Utilities.html" title="Utilities">
|
11
11
|
<link rel="next" href="api-index-all.html" title="Index of all symbols">
|
12
|
-
<meta name="generator" content="GTK-Doc V1.
|
12
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
13
13
|
<link rel="stylesheet" href="style.css" type="text/css">
|
14
14
|
</head>
|
15
15
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -39,6 +39,21 @@
|
|
39
39
|
<col width="150px" class="functions_return">
|
40
40
|
<col class="functions_name">
|
41
41
|
</colgroup>
|
42
|
+
<tbody><tr>
|
43
|
+
<td class="define_keyword">#define</td>
|
44
|
+
<td class="function_name">
|
45
|
+
<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>
|
46
|
+
</td>
|
47
|
+
</tr></tbody>
|
48
|
+
</table></div>
|
49
|
+
</div>
|
50
|
+
<div class="refsect1">
|
51
|
+
<a name="clutter-gst-Versioning-Macros.other"></a><h2>Types and Values</h2>
|
52
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
53
|
+
<colgroup>
|
54
|
+
<col width="150px" class="name">
|
55
|
+
<col class="description">
|
56
|
+
</colgroup>
|
42
57
|
<tbody>
|
43
58
|
<tr>
|
44
59
|
<td class="define_keyword">#define</td>
|
@@ -58,71 +73,22 @@
|
|
58
73
|
</tr>
|
59
74
|
<tr>
|
60
75
|
<td class="define_keyword">#define</td>
|
61
|
-
<td class="function_name"><a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION-
|
76
|
+
<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>
|
62
77
|
</tr>
|
63
78
|
<tr>
|
64
79
|
<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>
|
80
|
+
<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>
|
68
81
|
</tr>
|
69
82
|
</tbody>
|
70
83
|
</table></div>
|
71
84
|
</div>
|
72
85
|
<div class="refsect1">
|
73
|
-
<a name="clutter-gst-Versioning-Macros.other"></a><h2>Types and Values</h2>
|
74
|
-
<div class="informaltable"><table class="informaltable" 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
86
|
<a name="clutter-gst-Versioning-Macros.description"></a><h2>Description</h2>
|
87
87
|
<p>Version checking macros.</p>
|
88
88
|
</div>
|
89
89
|
<div class="refsect1">
|
90
90
|
<a name="clutter-gst-Versioning-Macros.functions_details"></a><h2>Functions</h2>
|
91
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 (22)
|
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.22)
|
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
92
|
<a name="CLUTTER-GST-CHECK-VERSION:CAPS"></a><h3>CLUTTER_GST_CHECK_VERSION()</h3>
|
127
93
|
<pre class="programlisting">#define CLUTTER_GST_CHECK_VERSION(major,minor,micro)</pre>
|
128
94
|
<p>Evaluates to <code class="literal">TRUE</code> if the version of ClutterGst is greater than
|
@@ -131,7 +97,7 @@ the <em class="parameter"><code>major</code></em>
|
|
131
97
|
and <em class="parameter"><code>micro</code></em>
|
132
98
|
values.</p>
|
133
99
|
<div class="refsect3">
|
134
|
-
<a name="
|
100
|
+
<a name="CLUTTER-GST-CHECK-VERSION.parameters"></a><h4>Parameters</h4>
|
135
101
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
136
102
|
<colgroup>
|
137
103
|
<col width="150px" class="parameters_name">
|
@@ -162,15 +128,48 @@ the <em class="parameter"><code>major</code></em>
|
|
162
128
|
<div class="refsect1">
|
163
129
|
<a name="clutter-gst-Versioning-Macros.other_details"></a><h2>Types and Values</h2>
|
164
130
|
<div class="refsect2">
|
131
|
+
<a name="CLUTTER-GST-MAJOR-VERSION:CAPS"></a><h3>CLUTTER_GST_MAJOR_VERSION</h3>
|
132
|
+
<pre class="programlisting">#define CLUTTER_GST_MAJOR_VERSION (3)
|
133
|
+
</pre>
|
134
|
+
<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>
|
135
|
+
</div>
|
136
|
+
<hr>
|
137
|
+
<div class="refsect2">
|
138
|
+
<a name="CLUTTER-GST-MINOR-VERSION:CAPS"></a><h3>CLUTTER_GST_MINOR_VERSION</h3>
|
139
|
+
<pre class="programlisting">#define CLUTTER_GST_MINOR_VERSION (0)
|
140
|
+
</pre>
|
141
|
+
<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>
|
142
|
+
</div>
|
143
|
+
<hr>
|
144
|
+
<div class="refsect2">
|
145
|
+
<a name="CLUTTER-GST-MICRO-VERSION:CAPS"></a><h3>CLUTTER_GST_MICRO_VERSION</h3>
|
146
|
+
<pre class="programlisting">#define CLUTTER_GST_MICRO_VERSION (24)
|
147
|
+
</pre>
|
148
|
+
<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>
|
149
|
+
</div>
|
150
|
+
<hr>
|
151
|
+
<div class="refsect2">
|
152
|
+
<a name="CLUTTER-GST-VERSION:CAPS"></a><h3>CLUTTER_GST_VERSION</h3>
|
153
|
+
<pre class="programlisting">#define CLUTTER_GST_VERSION (3.0.24)
|
154
|
+
</pre>
|
155
|
+
<p>ClutterGst full version (e.g. "1.2.3")</p>
|
156
|
+
</div>
|
157
|
+
<hr>
|
158
|
+
<div class="refsect2">
|
165
159
|
<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.
|
160
|
+
<pre class="programlisting">#define CLUTTER_GST_VERSION_S "3.0.24"
|
167
161
|
</pre>
|
168
162
|
<p>ClutterGst full version, encoded as a string.</p>
|
169
163
|
</div>
|
164
|
+
<hr>
|
165
|
+
<div class="refsect2">
|
166
|
+
<a name="CLUTTER-GST-VERSION-HEX:CAPS"></a><h3>CLUTTER_GST_VERSION_HEX</h3>
|
167
|
+
<pre class="programlisting">#define CLUTTER_GST_VERSION_HEX</pre>
|
168
|
+
<p>ClutterGst full version, encoded as an hexadecimal value.</p>
|
169
|
+
</div>
|
170
170
|
</div>
|
171
171
|
</div>
|
172
172
|
<div class="footer">
|
173
|
-
<hr>
|
174
|
-
Generated by GTK-Doc V1.21.1</div>
|
173
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
175
174
|
</body>
|
176
175
|
</html>
|