clutter-gstreamer 2.2.3-x86-mingw32 → 2.2.4-x86-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 +4 -4
- data/Rakefile +4 -3
- data/lib/clutter-gst.rb +1 -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-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst-enum-types.h +0 -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-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst-util.h +1 -1
- data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst-version.h +4 -4
- data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst-video-sink.h +47 -34
- data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst.h +13 -7
- 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 → clutter-gst-3.0}/ch01.html +10 -10
- 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 → clutter-gst-3.0}/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/index.html +33 -10
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/index.sgml +273 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/license.html +7 -7
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/up.png +0 -0
- metadata +70 -42
- data/vendor/local/bin/libclutter-gst-2.0-0.dll +0 -0
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-player.h +0 -186
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-types.h +0 -65
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-video-texture.h +0 -132
- data/vendor/local/lib/girepository-1.0/ClutterGst-2.0.typelib +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter.dll +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter.dll.a +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter.la +0 -41
- data/vendor/local/lib/libclutter-gst-2.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-gst-2.0.la +0 -41
- data/vendor/local/lib/pkgconfig/clutter-gst-2.0.pc +0 -12
- data/vendor/local/share/gir-1.0/ClutterGst-2.0.gir +0 -1795
- data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstPlayer.html +0 -1003
- data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoSink.html +0 -177
- data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoTexture.html +0 -624
- data/vendor/local/share/gtk-doc/html/clutter-gst/ch02.html +0 -48
- data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Utilities.html +0 -284
- data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Versioning-Macros.html +0 -144
- data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst.devhelp2 +0 -79
- data/vendor/local/share/gtk-doc/html/clutter-gst/index.sgml +0 -97
@@ -0,0 +1,316 @@
|
|
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: Utilities</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="ch05.html" title="ClutterGst utils">
|
11
|
+
<link rel="next" href="clutter-gst-Versioning-Macros.html" title="Versioning Macros">
|
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-Utilities.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="ch05.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="clutter-gst-Versioning-Macros.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-Utilities"></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-Utilities.top_of_page"></a>Utilities</span></h2>
|
31
|
+
<p>Utilities — Utility functions for Clutter-Gst.</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-Utilities.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="function_type">
|
45
|
+
<a href="/usr/share/gtk-doc/html/clutter/clutter-General.html#ClutterInitError"><span class="returnvalue">ClutterInitError</span></a>
|
46
|
+
</td>
|
47
|
+
<td class="function_name">
|
48
|
+
<a class="link" href="clutter-gst-Utilities.html#clutter-gst-init" title="clutter_gst_init ()">clutter_gst_init</a> <span class="c_punctuation">()</span>
|
49
|
+
</td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="function_type">
|
53
|
+
<a href="/usr/share/gtk-doc/html/clutter/clutter-General.html#ClutterInitError"><span class="returnvalue">ClutterInitError</span></a>
|
54
|
+
</td>
|
55
|
+
<td class="function_name">
|
56
|
+
<a class="link" href="clutter-gst-Utilities.html#clutter-gst-init-with-args" title="clutter_gst_init_with_args ()">clutter_gst_init_with_args</a> <span class="c_punctuation">()</span>
|
57
|
+
</td>
|
58
|
+
</tr>
|
59
|
+
<tr>
|
60
|
+
<td class="function_type">
|
61
|
+
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="returnvalue">GstElement</span></a> *
|
62
|
+
</td>
|
63
|
+
<td class="function_name">
|
64
|
+
<a class="link" href="clutter-gst-Utilities.html#clutter-gst-create-video-sink" title="clutter_gst_create_video_sink ()">clutter_gst_create_video_sink</a> <span class="c_punctuation">()</span>
|
65
|
+
</td>
|
66
|
+
</tr>
|
67
|
+
</tbody>
|
68
|
+
</table></div>
|
69
|
+
</div>
|
70
|
+
<div class="refsect1">
|
71
|
+
<a name="clutter-gst-Utilities.description"></a><h2>Description</h2>
|
72
|
+
<p>The <span class="application">Clutter-Gst</span> library should be initialized
|
73
|
+
with <a class="link" href="clutter-gst-Utilities.html#clutter-gst-init" title="clutter_gst_init ()"><code class="function">clutter_gst_init()</code></a> before it can be used. You should pass pointers to
|
74
|
+
the main argc and argv variables so that GStreamer, Clutter and Clutter-Gst
|
75
|
+
gst can process their own command line options, as shown in the following
|
76
|
+
example:</p>
|
77
|
+
<div class="example">
|
78
|
+
<a name="id-1.6.2.4.3"></a><p class="title"><b>Example 1. Initializing the Clutter-Gst library</b></p>
|
79
|
+
<div class="example-contents">
|
80
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
81
|
+
<tbody>
|
82
|
+
<tr>
|
83
|
+
<td class="listing_lines" align="right"><pre>1
|
84
|
+
2
|
85
|
+
3
|
86
|
+
4
|
87
|
+
5
|
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
|
+
|
102
|
+
</div>
|
103
|
+
<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
|
+
don't want to pass the command line arguments to GStreamer, Clutter and
|
105
|
+
Clutter-Gst.</p>
|
106
|
+
<p>You can also use a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a> array to initialize your own parameters
|
107
|
+
as shown in the next code fragment:</p>
|
108
|
+
<div class="example">
|
109
|
+
<a name="id-1.6.2.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
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
112
|
+
<tbody>
|
113
|
+
<tr>
|
114
|
+
<td class="listing_lines" align="right"><pre>1
|
115
|
+
2
|
116
|
+
3
|
117
|
+
4
|
118
|
+
5
|
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>
|
152
|
+
|
153
|
+
<span class="gtkdoc kwb">int</span>
|
154
|
+
<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>
|
155
|
+
<span class="gtkdoc opt">{</span>
|
156
|
+
GError <span class="gtkdoc opt">*</span>error <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
|
157
|
+
gboolean result<span class="gtkdoc opt">;</span>
|
158
|
+
|
159
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(!</span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html#g-thread-supported">g_thread_supported</a></span> <span class="gtkdoc opt">())</span>
|
160
|
+
<span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html#g-thread-init">g_thread_init</a></span> <span class="gtkdoc opt">(</span>NULL<span class="gtkdoc opt">);</span>
|
161
|
+
|
162
|
+
result <span class="gtkdoc opt">=</span> <span class="function"><a href="clutter-gst-Utilities.html#clutter-gst-init-with-args">clutter_gst_init_with_args</a></span> <span class="gtkdoc opt">(&</span>argc<span class="gtkdoc opt">, &</span>argv<span class="gtkdoc opt">,</span>
|
163
|
+
<span class="string">" - Test YUV frames uploading"</span><span class="gtkdoc opt">,</span>
|
164
|
+
options<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">, &</span>error<span class="gtkdoc opt">);</span>
|
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"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></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"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free">g_error_free</a></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>
|
178
|
+
|
179
|
+
</div>
|
180
|
+
<br class="example-break">
|
181
|
+
</div>
|
182
|
+
<div class="refsect1">
|
183
|
+
<a name="clutter-gst-Utilities.functions_details"></a><h2>Functions</h2>
|
184
|
+
<div class="refsect2">
|
185
|
+
<a name="clutter-gst-init"></a><h3>clutter_gst_init ()</h3>
|
186
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/clutter/clutter-General.html#ClutterInitError"><span class="returnvalue">ClutterInitError</span></a>
|
187
|
+
clutter_gst_init (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
188
|
+
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
|
189
|
+
<p>Utility function to initialize both Clutter and GStreamer.</p>
|
190
|
+
<p>This function should be called before calling any other GLib functions. If
|
191
|
+
this is not an option, your program must initialise the GLib thread system
|
192
|
+
using <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html#g-thread-init"><code class="function">g_thread_init()</code></a> before any other GLib functions are called.</p>
|
193
|
+
<div class="refsect3">
|
194
|
+
<a name="id-1.6.2.5.2.6"></a><h4>Parameters</h4>
|
195
|
+
<div class="informaltable"><table width="100%" border="0">
|
196
|
+
<colgroup>
|
197
|
+
<col width="150px" class="parameters_name">
|
198
|
+
<col class="parameters_description">
|
199
|
+
<col width="200px" class="parameters_annotations">
|
200
|
+
</colgroup>
|
201
|
+
<tbody>
|
202
|
+
<tr>
|
203
|
+
<td class="parameter_name"><p>argc</p></td>
|
204
|
+
<td class="parameter_description"><p> The number of arguments in <em class="parameter"><code>argv</code></em>
|
205
|
+
. </p></td>
|
206
|
+
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/inout"><span class="acronym">inout</span></a>]</span></td>
|
207
|
+
</tr>
|
208
|
+
<tr>
|
209
|
+
<td class="parameter_name"><p>argv</p></td>
|
210
|
+
<td class="parameter_description"><p> A pointer to an array. </p></td>
|
211
|
+
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=argc][<a href="http://foldoc.org/inout"><span class="acronym">inout</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
|
212
|
+
</tr>
|
213
|
+
</tbody>
|
214
|
+
</table></div>
|
215
|
+
</div>
|
216
|
+
<div class="refsect3">
|
217
|
+
<a name="id-1.6.2.5.2.7"></a><h4>Returns</h4>
|
218
|
+
<p> A <a href="/usr/share/gtk-doc/html/clutter/clutter-General.html#ClutterInitError"><span class="type">ClutterInitError</span></a>.</p>
|
219
|
+
<p></p>
|
220
|
+
</div>
|
221
|
+
</div>
|
222
|
+
<hr>
|
223
|
+
<div class="refsect2">
|
224
|
+
<a name="clutter-gst-init-with-args"></a><h3>clutter_gst_init_with_args ()</h3>
|
225
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/clutter/clutter-General.html#ClutterInitError"><span class="returnvalue">ClutterInitError</span></a>
|
226
|
+
clutter_gst_init_with_args (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
227
|
+
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>,
|
228
|
+
<em class="parameter"><code>const <span class="type">char</span> *parameter_string</code></em>,
|
229
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a> *entries</code></em>,
|
230
|
+
<em class="parameter"><code>const <span class="type">char</span> *translation_domain</code></em>,
|
231
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
232
|
+
<p>This function does the same work as <a class="link" href="clutter-gst-Utilities.html#clutter-gst-init" title="clutter_gst_init ()"><code class="function">clutter_gst_init()</code></a>. Additionally, it
|
233
|
+
allows you to add your own command line options, and it automatically
|
234
|
+
generates nicely formatted --help output. Clutter's and GStreamer's
|
235
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html#GOptionGroup"><span class="type">GOptionGroup</span></a>s are added to the set of available options.</p>
|
236
|
+
<p>Your program must initialise the GLib thread system using <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html#g-thread-init"><code class="function">g_thread_init()</code></a>
|
237
|
+
before any other GLib functions are called.</p>
|
238
|
+
<div class="refsect3">
|
239
|
+
<a name="id-1.6.2.5.3.6"></a><h4>Parameters</h4>
|
240
|
+
<div class="informaltable"><table width="100%" border="0">
|
241
|
+
<colgroup>
|
242
|
+
<col width="150px" class="parameters_name">
|
243
|
+
<col class="parameters_description">
|
244
|
+
<col width="200px" class="parameters_annotations">
|
245
|
+
</colgroup>
|
246
|
+
<tbody>
|
247
|
+
<tr>
|
248
|
+
<td class="parameter_name"><p>argc</p></td>
|
249
|
+
<td class="parameter_description"><p> The number of arguments in <em class="parameter"><code>argv</code></em>
|
250
|
+
. </p></td>
|
251
|
+
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/inout"><span class="acronym">inout</span></a>]</span></td>
|
252
|
+
</tr>
|
253
|
+
<tr>
|
254
|
+
<td class="parameter_name"><p>argv</p></td>
|
255
|
+
<td class="parameter_description"><p> A pointer to an array. </p></td>
|
256
|
+
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=argc][<a href="http://foldoc.org/inout"><span class="acronym">inout</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
|
257
|
+
</tr>
|
258
|
+
<tr>
|
259
|
+
<td class="parameter_name"><p>parameter_string</p></td>
|
260
|
+
<td class="parameter_description"><p>a string which is displayed in
|
261
|
+
the first line of <code class="option">--help</code> output, after
|
262
|
+
<code class="literal"><em class="replaceable"><code>programname</code></em> [OPTION...]</code></p></td>
|
263
|
+
<td class="parameter_annotations"> </td>
|
264
|
+
</tr>
|
265
|
+
<tr>
|
266
|
+
<td class="parameter_name"><p>entries</p></td>
|
267
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a>s
|
268
|
+
describing the options of your program</p></td>
|
269
|
+
<td class="parameter_annotations"> </td>
|
270
|
+
</tr>
|
271
|
+
<tr>
|
272
|
+
<td class="parameter_name"><p>translation_domain</p></td>
|
273
|
+
<td class="parameter_description"><p>a translation domain to use for translating
|
274
|
+
the <code class="option">--help</code> output for the options in <em class="parameter"><code>entries</code></em>
|
275
|
+
with <code class="function">gettext()</code>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
276
|
+
<td class="parameter_annotations"> </td>
|
277
|
+
</tr>
|
278
|
+
<tr>
|
279
|
+
<td class="parameter_name"><p>error</p></td>
|
280
|
+
<td class="parameter_description"><p>a return location for errors</p></td>
|
281
|
+
<td class="parameter_annotations"> </td>
|
282
|
+
</tr>
|
283
|
+
</tbody>
|
284
|
+
</table></div>
|
285
|
+
</div>
|
286
|
+
<div class="refsect3">
|
287
|
+
<a name="id-1.6.2.5.3.7"></a><h4>Returns</h4>
|
288
|
+
<p> <code class="literal">CLUTTER_INIT_SUCCESS</code> on success, a negative integer
|
289
|
+
on failure.</p>
|
290
|
+
<p></p>
|
291
|
+
</div>
|
292
|
+
<p class="since">Since 1.0</p>
|
293
|
+
</div>
|
294
|
+
<hr>
|
295
|
+
<div class="refsect2">
|
296
|
+
<a name="clutter-gst-create-video-sink"></a><h3>clutter_gst_create_video_sink ()</h3>
|
297
|
+
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="returnvalue">GstElement</span></a> *
|
298
|
+
clutter_gst_create_video_sink (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
299
|
+
<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
|
+
<div class="refsect3">
|
301
|
+
<a name="id-1.6.2.5.4.5"></a><h4>Returns</h4>
|
302
|
+
<p> the newly created <a class="link" href="clutter-gst-Video-Sink.html#ClutterGstVideoSink"><span class="type">ClutterGstVideoSink</span></a>. </p>
|
303
|
+
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
|
304
|
+
</div>
|
305
|
+
<p class="since">Since 3.0</p>
|
306
|
+
</div>
|
307
|
+
</div>
|
308
|
+
<div class="refsect1">
|
309
|
+
<a name="clutter-gst-Utilities.other_details"></a><h2>Types and Values</h2>
|
310
|
+
</div>
|
311
|
+
</div>
|
312
|
+
<div class="footer">
|
313
|
+
<hr>
|
314
|
+
Generated by GTK-Doc V1.21</div>
|
315
|
+
</body>
|
316
|
+
</html>
|
@@ -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.win32/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>
|