41
33
<h2><span class="refentrytitle"><a name="gst-plugins-base-plugins-uridecodebin.top_of_page"></a>uridecodebin</span></h2>
42
34
<p>uridecodebin — Autoplug and decode an URI to raw media</p>
44
<td valign="top" align="right"></td>
36
<td class="gallery_image" valign="top" align="right"></td>
45
37
</tr></table></div>
46
<div class="refsynopsisdiv">
47
<a name="gst-plugins-base-plugins-uridecodebin.synopsis"></a><h2>Synopsis</h2>
48
<a name="GstURIDecodeBin"></a><pre class="synopsis">struct <a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin-struct" title="struct GstURIDecodeBin">GstURIDecodeBin</a>;
49
enum <a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstAutoplugSelectResult" title="enum GstAutoplugSelectResult">GstAutoplugSelectResult</a>;
38
<div class="refsect1">
39
<a name="gst-plugins-base-plugins-uridecodebin.properties"></a><h2>Properties</h2>
40
<div class="informaltable"><table border="0">
42
<col width="150px" class="properties_type">
43
<col width="300px" class="properties_name">
44
<col width="200px" class="properties_flags">
48
<td class="property_type">
49
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
50
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin--uri" title="The “uri” property">uri</a></td>
51
<td class="property_flags">Read / Write</td>
54
<td class="property_type"><span class="type">guint64</span></td>
55
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin--connection-speed" title="The “connection-speed” property">connection-speed</a></td>
56
<td class="property_flags">Read / Write</td>
59
<td class="property_type">
60
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *</td>
61
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin--caps" title="The “caps” property">caps</a></td>
62
<td class="property_flags">Read / Write</td>
65
<td class="property_type">
66
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
67
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin--subtitle-encoding" title="The “subtitle-encoding” property">subtitle-encoding</a></td>
68
<td class="property_flags">Read / Write</td>
71
<td class="property_type">
72
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> *</td>
73
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin--source" title="The “source” property">source</a></td>
74
<td class="property_flags">Read</td>
77
<td class="property_type"><span class="type">gint64</span></td>
78
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin--buffer-duration" title="The “buffer-duration” property">buffer-duration</a></td>
79
<td class="property_flags">Read / Write</td>
82
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
83
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin--buffer-size" title="The “buffer-size” property">buffer-size</a></td>
84
<td class="property_flags">Read / Write</td>
87
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
88
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin--download" title="The “download” property">download</a></td>
89
<td class="property_flags">Read / Write</td>
92
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
93
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin--use-buffering" title="The “use-buffering” property">use-buffering</a></td>
94
<td class="property_flags">Read / Write</td>
97
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
98
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin--expose-all-streams" title="The “expose-all-streams” property">expose-all-streams</a></td>
99
<td class="property_flags">Read / Write</td>
102
<td class="property_type"><span class="type">guint64</span></td>
103
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin--ring-buffer-max-size" title="The “ring-buffer-max-size” property">ring-buffer-max-size</a></td>
104
<td class="property_flags">Read / Write</td>
109
<div class="refsect1">
110
<a name="gst-plugins-base-plugins-uridecodebin.signals"></a><h2>Signals</h2>
111
<div class="informaltable"><table border="0">
113
<col width="150px" class="signals_return">
114
<col width="300px" class="signals_name">
115
<col width="200px" class="signals_flags">
119
<td class="signal_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
120
<td class="signal_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin-autoplug-continue" title="The “autoplug-continue” signal">autoplug-continue</a></td>
121
<td class="signal_flags">Run Last</td>
124
<td class="signal_type">
125
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="returnvalue">GValueArray</span></a>*</td>
126
<td class="signal_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin-autoplug-factories" title="The “autoplug-factories” signal">autoplug-factories</a></td>
127
<td class="signal_flags">Run Last</td>
130
<td class="signal_type"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstAutoplugSelectResult" title="enum GstAutoplugSelectResult"><span class="returnvalue">GstAutoplugSelectResult</span></a></td>
131
<td class="signal_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin-autoplug-select" title="The “autoplug-select” signal">autoplug-select</a></td>
132
<td class="signal_flags">Run Last</td>
135
<td class="signal_type"><span class="returnvalue">void</span></td>
136
<td class="signal_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin-unknown-type" title="The “unknown-type” signal">unknown-type</a></td>
137
<td class="signal_flags">Run Last</td>
140
<td class="signal_type"><span class="returnvalue">void</span></td>
141
<td class="signal_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin-drained" title="The “drained” signal">drained</a></td>
142
<td class="signal_flags">Run Last</td>
145
<td class="signal_type">
146
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="returnvalue">GValueArray</span></a>*</td>
147
<td class="signal_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin-autoplug-sort" title="The “autoplug-sort” signal">autoplug-sort</a></td>
148
<td class="signal_flags">Run Last</td>
151
<td class="signal_type"><span class="returnvalue">void</span></td>
152
<td class="signal_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin-source-setup" title="The “source-setup” signal">source-setup</a></td>
153
<td class="signal_flags">Run Last</td>
156
<td class="signal_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
157
<td class="signal_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin-autoplug-query" title="The “autoplug-query” signal">autoplug-query</a></td>
158
<td class="signal_flags">Run Last</td>
163
<a name="GstURIDecodeBin"></a><div class="refsect1">
164
<a name="gst-plugins-base-plugins-uridecodebin.other"></a><h2>Types and Values</h2>
165
<div class="informaltable"><table width="100%" border="0">
167
<col width="150px" class="name">
168
<col class="description">
172
<td class="datatype_keyword">struct</td>
173
<td class="function_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin-struct" title="struct GstURIDecodeBin">GstURIDecodeBin</a></td>
176
<td class="datatype_keyword">enum</td>
177
<td class="function_name"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstAutoplugSelectResult" title="enum GstAutoplugSelectResult">GstAutoplugSelectResult</a></td>
52
182
<div class="refsect1">
53
183
<a name="gst-plugins-base-plugins-uridecodebin.object-hierarchy"></a><h2>Object Hierarchy</h2>
54
<pre class="synopsis">
55
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
56
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
57
+----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
58
+----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
59
+----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBin.html">GstBin</a>
184
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
185
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
186
<span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
187
<span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
188
<span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBin.html">GstBin</a>
189
<span class="lineart">╰──</span> GstURIDecodeBin
63
192
<div class="refsect1">
163
261
<div class="refsect1">
164
<a name="gst-plugins-base-plugins-uridecodebin.details"></a><h2>Details</h2>
262
<a name="gst-plugins-base-plugins-uridecodebin.functions_details"></a><h2>Functions</h2>
264
<div class="refsect1">
265
<a name="gst-plugins-base-plugins-uridecodebin.other_details"></a><h2>Types and Values</h2>
165
266
<div class="refsect2">
166
267
<a name="GstURIDecodeBin-struct"></a><h3>struct GstURIDecodeBin</h3>
167
268
<pre class="programlisting">struct GstURIDecodeBin;</pre>
169
uridecodebin element struct
269
<p>uridecodebin element struct</p>
173
272
<div class="refsect2">
174
273
<a name="GstAutoplugSelectResult"></a><h3>enum GstAutoplugSelectResult</h3>
175
<pre class="programlisting">typedef enum {
176
GST_AUTOPLUG_SELECT_TRY,
177
GST_AUTOPLUG_SELECT_EXPOSE,
178
GST_AUTOPLUG_SELECT_SKIP
179
} GstAutoplugSelectResult;
182
return values for the autoplug-select signal.
184
<div class="variablelist"><table border="0" class="variablelist">
274
<p>return values for the autoplug-select signal.</p>
275
<div class="refsect3">
276
<a name="id-1.2.36.11.3.4"></a><h4>Members</h4>
277
<div class="informaltable"><table width="100%" border="0">
186
<col align="left" valign="top">
279
<col width="300px" class="enum_members_name">
280
<col class="enum_members_description">
281
<col width="200px" class="enum_members_annotations">
191
<td><p><a name="GST-AUTOPLUG-SELECT-TRY:CAPS"></a><span class="term"><code class="literal">GST_AUTOPLUG_SELECT_TRY</code></span></p></td>
192
<td>try to autoplug the current factory
196
<td><p><a name="GST-AUTOPLUG-SELECT-EXPOSE:CAPS"></a><span class="term"><code class="literal">GST_AUTOPLUG_SELECT_EXPOSE</code></span></p></td>
197
<td>expose the pad as a raw stream
201
<td><p><a name="GST-AUTOPLUG-SELECT-SKIP:CAPS"></a><span class="term"><code class="literal">GST_AUTOPLUG_SELECT_SKIP</code></span></p></td>
202
<td>skip the current factory
285
<td class="enum_member_name"><p><a name="GST-AUTOPLUG-SELECT-TRY:CAPS"></a>GST_AUTOPLUG_SELECT_TRY</p></td>
286
<td class="enum_member_description">
287
<p>try to autoplug the current factory</p>
289
<td class="enum_member_annotations"> </td>
292
<td class="enum_member_name"><p><a name="GST-AUTOPLUG-SELECT-EXPOSE:CAPS"></a>GST_AUTOPLUG_SELECT_EXPOSE</p></td>
293
<td class="enum_member_description">
294
<p>expose the pad as a raw stream</p>
296
<td class="enum_member_annotations"> </td>
299
<td class="enum_member_name"><p><a name="GST-AUTOPLUG-SELECT-SKIP:CAPS"></a>GST_AUTOPLUG_SELECT_SKIP</p></td>
300
<td class="enum_member_description">
301
<p>skip the current factory</p>
303
<td class="enum_member_annotations"> </td>
209
310
<div class="refsect1">
210
311
<a name="gst-plugins-base-plugins-uridecodebin.property-details"></a><h2>Property Details</h2>
211
312
<div class="refsect2">
212
<a name="GstURIDecodeBin--uri"></a><h3>The <code class="literal">"uri"</code> property</h3>
213
<pre class="programlisting"> "uri" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
313
<a name="GstURIDecodeBin--uri"></a><h3>The <code class="literal">“uri”</code> property</h3>
314
<pre class="programlisting"> “uri” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
214
315
<p>URI to decode.</p>
316
<p>Flags: Read / Write</p>
215
317
<p>Default value: NULL</p>
218
320
<div class="refsect2">
219
<a name="GstURIDecodeBin--connection-speed"></a><h3>The <code class="literal">"connection-speed"</code> property</h3>
220
<pre class="programlisting"> "connection-speed" <span class="type">guint64</span> : Read / Write</pre>
321
<a name="GstURIDecodeBin--connection-speed"></a><h3>The <code class="literal">“connection-speed”</code> property</h3>
322
<pre class="programlisting"> “connection-speed” <span class="type">guint64</span></pre>
221
323
<p>Network connection speed in kbps (0 = unknown).</p>
324
<p>Flags: Read / Write</p>
222
325
<p>Allowed values: <= 18446744073709551</p>
223
326
<p>Default value: 0</p>
226
329
<div class="refsect2">
227
<a name="GstURIDecodeBin--caps"></a><h3>The <code class="literal">"caps"</code> property</h3>
228
<pre class="programlisting"> "caps" <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>* : Read / Write</pre>
330
<a name="GstURIDecodeBin--caps"></a><h3>The <code class="literal">“caps”</code> property</h3>
331
<pre class="programlisting"> “caps” <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *</pre>
229
332
<p>The caps on which to stop decoding. (NULL = default).</p>
333
<p>Flags: Read / Write</p>
232
336
<div class="refsect2">
233
<a name="GstURIDecodeBin--subtitle-encoding"></a><h3>The <code class="literal">"subtitle-encoding"</code> property</h3>
234
<pre class="programlisting"> "subtitle-encoding" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
337
<a name="GstURIDecodeBin--subtitle-encoding"></a><h3>The <code class="literal">“subtitle-encoding”</code> property</h3>
338
<pre class="programlisting"> “subtitle-encoding” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
235
339
<p>Encoding to assume if input subtitles are not in UTF-8 encoding. If not set, the GST_SUBTITLE_ENCODING environment variable will be checked for an encoding to use. If that is not set either, ISO-8859-15 will be assumed.</p>
340
<p>Flags: Read / Write</p>
236
341
<p>Default value: NULL</p>
239
344
<div class="refsect2">
240
<a name="GstURIDecodeBin--source"></a><h3>The <code class="literal">"source"</code> property</h3>
241
<pre class="programlisting"> "source" <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>* : Read</pre>
345
<a name="GstURIDecodeBin--source"></a><h3>The <code class="literal">“source”</code> property</h3>
346
<pre class="programlisting"> “source” <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> *</pre>
242
347
<p>Source object used.</p>
245
351
<div class="refsect2">
246
<a name="GstURIDecodeBin--buffer-duration"></a><h3>The <code class="literal">"buffer-duration"</code> property</h3>
247
<pre class="programlisting"> "buffer-duration" <span class="type">gint64</span> : Read / Write</pre>
352
<a name="GstURIDecodeBin--buffer-duration"></a><h3>The <code class="literal">“buffer-duration”</code> property</h3>
353
<pre class="programlisting"> “buffer-duration” <span class="type">gint64</span></pre>
248
354
<p>Buffer duration when buffering streams (-1 default value).</p>
355
<p>Flags: Read / Write</p>
249
356
<p>Allowed values: >= G_MAXULONG</p>
250
357
<p>Default value: -1</p>
253
360
<div class="refsect2">
254
<a name="GstURIDecodeBin--buffer-size"></a><h3>The <code class="literal">"buffer-size"</code> property</h3>
255
<pre class="programlisting"> "buffer-size" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
361
<a name="GstURIDecodeBin--buffer-size"></a><h3>The <code class="literal">“buffer-size”</code> property</h3>
362
<pre class="programlisting"> “buffer-size” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
256
363
<p>Buffer size when buffering streams (-1 default value).</p>
364
<p>Flags: Read / Write</p>
257
365
<p>Allowed values: >= G_MAXULONG</p>
258
366
<p>Default value: -1</p>
261
369
<div class="refsect2">
262
<a name="GstURIDecodeBin--download"></a><h3>The <code class="literal">"download"</code> property</h3>
263
<pre class="programlisting"> "download" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
370
<a name="GstURIDecodeBin--download"></a><h3>The <code class="literal">“download”</code> property</h3>
371
<pre class="programlisting"> “download” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
264
372
<p>Attempt download buffering when buffering network streams.</p>
373
<p>Flags: Read / Write</p>
265
374
<p>Default value: FALSE</p>
268
377
<div class="refsect2">
269
<a name="GstURIDecodeBin--use-buffering"></a><h3>The <code class="literal">"use-buffering"</code> property</h3>
270
<pre class="programlisting"> "use-buffering" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
378
<a name="GstURIDecodeBin--use-buffering"></a><h3>The <code class="literal">“use-buffering”</code> property</h3>
379
<pre class="programlisting"> “use-buffering” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
271
380
<p>Perform buffering on demuxed/parsed media.</p>
381
<p>Flags: Read / Write</p>
272
382
<p>Default value: FALSE</p>
275
385
<div class="refsect2">
276
<a name="GstURIDecodeBin--expose-all-streams"></a><h3>The <code class="literal">"expose-all-streams"</code> property</h3>
277
<pre class="programlisting"> "expose-all-streams" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
386
<a name="GstURIDecodeBin--expose-all-streams"></a><h3>The <code class="literal">“expose-all-streams”</code> property</h3>
387
<pre class="programlisting"> “expose-all-streams” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
278
388
<p>Expose all streams, including those of unknown type or that don't match the 'caps' property.</p>
389
<p>Flags: Read / Write</p>
279
390
<p>Default value: TRUE</p>
282
393
<div class="refsect2">
283
<a name="GstURIDecodeBin--ring-buffer-max-size"></a><h3>The <code class="literal">"ring-buffer-max-size"</code> property</h3>
284
<pre class="programlisting"> "ring-buffer-max-size" <span class="type">guint64</span> : Read / Write</pre>
394
<a name="GstURIDecodeBin--ring-buffer-max-size"></a><h3>The <code class="literal">“ring-buffer-max-size”</code> property</h3>
395
<pre class="programlisting"> “ring-buffer-max-size” <span class="type">guint64</span></pre>
285
396
<p>Max. amount of data in the ring buffer (bytes, 0 = ring buffer disabled).</p>
397
<p>Flags: Read / Write</p>
286
398
<p>Allowed values: <= G_MAXUINT</p>
287
399
<p>Default value: 0</p>
290
402
<div class="refsect1">
291
403
<a name="gst-plugins-base-plugins-uridecodebin.signal-details"></a><h2>Signal Details</h2>
292
404
<div class="refsect2">
293
<a name="GstURIDecodeBin-autoplug-continue"></a><h3>The <code class="literal">"autoplug-continue"</code> signal</h3>
294
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *bin,
295
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *pad,
296
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps,
297
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
299
This signal is emitted whenever uridecodebin finds a new stream. It is
300
emitted before looking for any elements that can handle that stream.
304
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
305
<h3 class="title">Note</h3>
405
<a name="GstURIDecodeBin-autoplug-continue"></a><h3>The <code class="literal">“autoplug-continue”</code> signal</h3>
406
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
407
user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *bin,
408
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *pad,
409
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps,
410
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
411
<p>This signal is emitted whenever uridecodebin finds a new stream. It is
412
emitted before looking for any elements that can handle that stream.</p>
306
414
Invocation of signal handlers stops after the first signal handler
307
415
returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a>. Signal handlers are invoked in the order they were
312
<div class="variablelist"><table border="0" class="variablelist">
418
<div class="refsect3">
419
<a name="id-1.2.36.13.2.6"></a><h4>Parameters</h4>
420
<div class="informaltable"><table width="100%" border="0">
314
<col align="left" valign="top">
422
<col width="150px" class="parameters_name">
423
<col class="parameters_description">
424
<col width="200px" class="parameters_annotations">
319
<td><p><span class="term"><em class="parameter"><code>bin</code></em> :</span></p></td>
320
<td>The uridecodebin.</td>
323
<td><p><span class="term"><em class="parameter"><code>pad</code></em> :</span></p></td>
324
<td>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>.</td>
327
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
328
<td>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> found.</td>
331
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
332
<td>user data set when the signal handler was connected.</td>
335
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
337
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if you wish uridecodebin to look for elements that can
338
handle the given <em class="parameter"><code>caps</code></em>. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a>, those caps will be considered as
428
<td class="parameter_name"><p>bin</p></td>
429
<td class="parameter_description"><p>The uridecodebin.</p></td>
430
<td class="parameter_annotations"> </td>
433
<td class="parameter_name"><p>pad</p></td>
434
<td class="parameter_description"><p>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>.</p></td>
435
<td class="parameter_annotations"> </td>
438
<td class="parameter_name"><p>caps</p></td>
439
<td class="parameter_description"><p>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> found.</p></td>
440
<td class="parameter_annotations"> </td>
443
<td class="parameter_name"><p>user_data</p></td>
444
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
445
<td class="parameter_annotations"> </td>
450
<div class="refsect3">
451
<a name="id-1.2.36.13.2.7"></a><h4>Returns</h4>
452
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if you wish uridecodebin to look for elements that can
453
handle the given <em class="parameter"><code>caps</code></em>
454
. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a>, those caps will be considered as
339
455
final and the pad will be exposed as such (see 'pad-added' signal of
340
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>).</td>
456
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>).</p>
459
<p>Flags: Run Last</p>
346
462
<div class="refsect2">
347
<a name="GstURIDecodeBin-autoplug-factories"></a><h3>The <code class="literal">"autoplug-factories"</code> signal</h3>
348
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="returnvalue">GValueArray</span></a>* user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *bin,
349
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *pad,
350
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps,
351
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
353
This function is emitted when an array of possible factories for <em class="parameter"><code>caps</code></em> on
354
<em class="parameter"><code>pad</code></em> is needed. Uridecodebin will by default return an array with all
355
compatible factories, sorted by rank.
358
If this function returns NULL, <em class="parameter"><code>pad</code></em> will be exposed as a final caps.
361
If this function returns an empty array, the pad will be considered as
362
having an unhandled type media type.
366
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
367
<h3 class="title">Note</h3>
463
<a name="GstURIDecodeBin-autoplug-factories"></a><h3>The <code class="literal">“autoplug-factories”</code> signal</h3>
464
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="returnvalue">GValueArray</span></a>*
465
user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *bin,
466
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *pad,
467
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps,
468
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
469
<p>This function is emitted when an array of possible factories for <em class="parameter"><code>caps</code></em>
471
<em class="parameter"><code>pad</code></em>
472
is needed. Uridecodebin will by default return an array with all
473
compatible factories, sorted by rank.</p>
474
<p>If this function returns NULL, <em class="parameter"><code>pad</code></em>
475
will be exposed as a final caps.</p>
476
<p>If this function returns an empty array, the pad will be considered as
477
having an unhandled type media type.</p>
368
479
Only the signal handler that is connected first will ever by invoked.
369
Don't connect signal handlers with the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-CONNECT-AFTER:CAPS"><span class="type">G_CONNECT_AFTER</span></a> flag to this
480
Don't connect signal handlers with the <span class="type">G_CONNECT_AFTER</span> flag to this
370
481
signal, they will never be invoked!
374
<div class="variablelist"><table border="0" class="variablelist">
483
<div class="refsect3">
484
<a name="id-1.2.36.13.3.8"></a><h4>Parameters</h4>
485
<div class="informaltable"><table width="100%" border="0">
376
<col align="left" valign="top">
487
<col width="150px" class="parameters_name">
488
<col class="parameters_description">
489
<col width="200px" class="parameters_annotations">
381
<td><p><span class="term"><em class="parameter"><code>bin</code></em> :</span></p></td>
382
<td>The uridecodebin.</td>
385
<td><p><span class="term"><em class="parameter"><code>pad</code></em> :</span></p></td>
386
<td>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>.</td>
389
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
390
<td>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> found.</td>
393
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
394
<td>user data set when the signal handler was connected.</td>
397
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
398
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a>* with a list of factories to try. The factories are
493
<td class="parameter_name"><p>bin</p></td>
494
<td class="parameter_description"><p>The uridecodebin.</p></td>
495
<td class="parameter_annotations"> </td>
498
<td class="parameter_name"><p>pad</p></td>
499
<td class="parameter_description"><p>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>.</p></td>
500
<td class="parameter_annotations"> </td>
503
<td class="parameter_name"><p>caps</p></td>
504
<td class="parameter_description"><p>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> found.</p></td>
505
<td class="parameter_annotations"> </td>
508
<td class="parameter_name"><p>user_data</p></td>
509
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
510
<td class="parameter_annotations"> </td>
515
<div class="refsect3">
516
<a name="id-1.2.36.13.3.9"></a><h4>Returns</h4>
517
<p> a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a>* with a list of factories to try. The factories are
399
518
by default tried in the returned order or based on the index returned by
400
"autoplug-select".</td>
519
"autoplug-select".</p>
522
<p>Flags: Run Last</p>
406
525
<div class="refsect2">
407
<a name="GstURIDecodeBin-autoplug-select"></a><h3>The <code class="literal">"autoplug-select"</code> signal</h3>
408
<pre class="programlisting"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstAutoplugSelectResult" title="enum GstAutoplugSelectResult"><span class="returnvalue">GstAutoplugSelectResult</span></a>user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *bin,
409
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *pad,
410
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps,
411
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html"><span class="type">GstElementFactory</span></a> *factory,
412
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
414
This signal is emitted once uridecodebin has found all the possible
415
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html"><span class="type">GstElementFactory</span></a> that can be used to handle the given <em class="parameter"><code>caps</code></em>. For each of
416
those factories, this signal is emitted.
419
The signal handler should return a <span class="type">GST_TYPE_AUTOPLUG_SELECT_RESULT</span> enum
420
value indicating what decodebin should do next.
423
A value of <a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GST-AUTOPLUG-SELECT-TRY:CAPS"><span class="type">GST_AUTOPLUG_SELECT_TRY</span></a> will try to autoplug an element from
424
<em class="parameter"><code>factory</code></em>.
427
A value of <a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GST-AUTOPLUG-SELECT-EXPOSE:CAPS"><span class="type">GST_AUTOPLUG_SELECT_EXPOSE</span></a> will expose <em class="parameter"><code>pad</code></em> without plugging
431
A value of <a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GST-AUTOPLUG-SELECT-SKIP:CAPS"><span class="type">GST_AUTOPLUG_SELECT_SKIP</span></a> will skip <em class="parameter"><code>factory</code></em> and move to the
436
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
437
<h3 class="title">Note</h3>
526
<a name="GstURIDecodeBin-autoplug-select"></a><h3>The <code class="literal">“autoplug-select”</code> signal</h3>
527
<pre class="programlisting"><a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstAutoplugSelectResult" title="enum GstAutoplugSelectResult"><span class="returnvalue">GstAutoplugSelectResult</span></a>
528
user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *bin,
529
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *pad,
530
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps,
531
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html"><span class="type">GstElementFactory</span></a> *factory,
532
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
533
<p>This signal is emitted once uridecodebin has found all the possible
534
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html"><span class="type">GstElementFactory</span></a> that can be used to handle the given <em class="parameter"><code>caps</code></em>
536
those factories, this signal is emitted.</p>
537
<p>The signal handler should return a <span class="type">GST_TYPE_AUTOPLUG_SELECT_RESULT</span> enum
538
value indicating what decodebin should do next.</p>
539
<p>A value of <a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GST-AUTOPLUG-SELECT-TRY:CAPS"><span class="type">GST_AUTOPLUG_SELECT_TRY</span></a> will try to autoplug an element from
540
<em class="parameter"><code>factory</code></em>
542
<p>A value of <a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GST-AUTOPLUG-SELECT-EXPOSE:CAPS"><span class="type">GST_AUTOPLUG_SELECT_EXPOSE</span></a> will expose <em class="parameter"><code>pad</code></em>
544
any element to it.</p>
545
<p>A value of <a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GST-AUTOPLUG-SELECT-SKIP:CAPS"><span class="type">GST_AUTOPLUG_SELECT_SKIP</span></a> will skip <em class="parameter"><code>factory</code></em>
438
549
Only the signal handler that is connected first will ever by invoked.
439
Don't connect signal handlers with the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-CONNECT-AFTER:CAPS"><span class="type">G_CONNECT_AFTER</span></a> flag to this
550
Don't connect signal handlers with the <span class="type">G_CONNECT_AFTER</span> flag to this
440
551
signal, they will never be invoked!
444
<div class="variablelist"><table border="0" class="variablelist">
553
<div class="refsect3">
554
<a name="id-1.2.36.13.4.10"></a><h4>Parameters</h4>
555
<div class="informaltable"><table width="100%" border="0">
446
<col align="left" valign="top">
557
<col width="150px" class="parameters_name">
558
<col class="parameters_description">
559
<col width="200px" class="parameters_annotations">
451
<td><p><span class="term"><em class="parameter"><code>bin</code></em> :</span></p></td>
452
<td>The uridecodebin.</td>
455
<td><p><span class="term"><em class="parameter"><code>pad</code></em> :</span></p></td>
456
<td>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>.</td>
459
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
460
<td>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>.</td>
463
<td><p><span class="term"><em class="parameter"><code>factory</code></em> :</span></p></td>
464
<td>A <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html"><span class="type">GstElementFactory</span></a> to use.</td>
467
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
468
<td>user data set when the signal handler was connected.</td>
471
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
472
<td>a <span class="type">GST_TYPE_AUTOPLUG_SELECT_RESULT</span> that indicates the required
563
<td class="parameter_name"><p>bin</p></td>
564
<td class="parameter_description"><p>The uridecodebin.</p></td>
565
<td class="parameter_annotations"> </td>
568
<td class="parameter_name"><p>pad</p></td>
569
<td class="parameter_description"><p>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>.</p></td>
570
<td class="parameter_annotations"> </td>
573
<td class="parameter_name"><p>caps</p></td>
574
<td class="parameter_description"><p>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>.</p></td>
575
<td class="parameter_annotations"> </td>
578
<td class="parameter_name"><p>factory</p></td>
579
<td class="parameter_description"><p>A <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html"><span class="type">GstElementFactory</span></a> to use.</p></td>
580
<td class="parameter_annotations"> </td>
583
<td class="parameter_name"><p>user_data</p></td>
584
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
585
<td class="parameter_annotations"> </td>
590
<div class="refsect3">
591
<a name="id-1.2.36.13.4.11"></a><h4>Returns</h4>
592
<p> a <span class="type">GST_TYPE_AUTOPLUG_SELECT_RESULT</span> that indicates the required
473
593
operation. The default handler will always return
474
<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GST-AUTOPLUG-SELECT-TRY:CAPS"><span class="type">GST_AUTOPLUG_SELECT_TRY</span></a>.</td>
594
<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GST-AUTOPLUG-SELECT-TRY:CAPS"><span class="type">GST_AUTOPLUG_SELECT_TRY</span></a>.</p>
597
<p>Flags: Run Last</p>
480
600
<div class="refsect2">
481
<a name="GstURIDecodeBin-unknown-type"></a><h3>The <code class="literal">"unknown-type"</code> signal</h3>
482
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *bin,
483
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *pad,
484
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps,
485
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
487
This signal is emitted when a pad for which there is no further possible
488
decoding is added to the uridecodebin.
490
<div class="variablelist"><table border="0" class="variablelist">
601
<a name="GstURIDecodeBin-unknown-type"></a><h3>The <code class="literal">“unknown-type”</code> signal</h3>
602
<pre class="programlisting"><span class="returnvalue">void</span>
603
user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *bin,
604
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *pad,
605
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps,
606
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
607
<p>This signal is emitted when a pad for which there is no further possible
608
decoding is added to the uridecodebin.</p>
609
<div class="refsect3">
610
<a name="id-1.2.36.13.5.5"></a><h4>Parameters</h4>
611
<div class="informaltable"><table width="100%" border="0">
492
<col align="left" valign="top">
613
<col width="150px" class="parameters_name">
614
<col class="parameters_description">
615
<col width="200px" class="parameters_annotations">
497
<td><p><span class="term"><em class="parameter"><code>bin</code></em> :</span></p></td>
498
<td>The uridecodebin.</td>
501
<td><p><span class="term"><em class="parameter"><code>pad</code></em> :</span></p></td>
502
<td>the new pad containing caps that cannot be resolved to a 'final'.
506
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
507
<td>the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> of the pad that cannot be resolved.</td>
510
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
511
<td>user data set when the signal handler was connected.</td>
619
<td class="parameter_name"><p>bin</p></td>
620
<td class="parameter_description"><p>The uridecodebin.</p></td>
621
<td class="parameter_annotations"> </td>
624
<td class="parameter_name"><p>pad</p></td>
625
<td class="parameter_description"><p>the new pad containing caps that cannot be resolved to a 'final'.
626
stream type.</p></td>
627
<td class="parameter_annotations"> </td>
630
<td class="parameter_name"><p>caps</p></td>
631
<td class="parameter_description"><p>the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> of the pad that cannot be resolved.</p></td>
632
<td class="parameter_annotations"> </td>
635
<td class="parameter_name"><p>user_data</p></td>
636
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
637
<td class="parameter_annotations"> </td>
642
<p>Flags: Run Last</p>
517
645
<div class="refsect2">
518
<a name="GstURIDecodeBin-drained"></a><h3>The <code class="literal">"drained"</code> signal</h3>
519
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *arg0,
520
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
522
This signal is emitted when the data for the current uri is played.
524
<div class="variablelist"><table border="0" class="variablelist">
646
<a name="GstURIDecodeBin-drained"></a><h3>The <code class="literal">“drained”</code> signal</h3>
647
<pre class="programlisting"><span class="returnvalue">void</span>
648
user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *arg0,
649
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
650
<p>This signal is emitted when the data for the current uri is played.</p>
651
<div class="refsect3">
652
<a name="id-1.2.36.13.6.5"></a><h4>Parameters</h4>
653
<div class="informaltable"><table width="100%" border="0">
526
<col align="left" valign="top">
655
<col width="150px" class="parameters_name">
656
<col class="parameters_description">
657
<col width="200px" class="parameters_annotations">
530
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
531
<td>user data set when the signal handler was connected.</td>
660
<td class="parameter_name"><p>user_data</p></td>
661
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
662
<td class="parameter_annotations"> </td>
666
<p>Flags: Run Last</p>
536
669
<div class="refsect2">
537
<a name="GstURIDecodeBin-autoplug-sort"></a><h3>The <code class="literal">"autoplug-sort"</code> signal</h3>
538
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="returnvalue">GValueArray</span></a>* user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *bin,
539
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *pad,
540
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps,
541
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a> *factories,
542
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
544
Once decodebin has found the possible <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html"><span class="type">GstElementFactory</span></a> objects to try
545
for <em class="parameter"><code>caps</code></em> on <em class="parameter"><code>pad</code></em>, this signal is emited. The purpose of the signal is for
670
<a name="GstURIDecodeBin-autoplug-sort"></a><h3>The <code class="literal">“autoplug-sort”</code> signal</h3>
671
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="returnvalue">GValueArray</span></a>*
672
user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *bin,
673
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *pad,
674
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps,
675
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a> *factories,
676
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
677
<p>Once decodebin has found the possible <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html"><span class="type">GstElementFactory</span></a> objects to try
678
for <em class="parameter"><code>caps</code></em>
679
on <em class="parameter"><code>pad</code></em>
680
, this signal is emited. The purpose of the signal is for
546
681
the application to perform additional sorting or filtering on the element
550
The callee should copy and modify <em class="parameter"><code>factories</code></em> or return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if the
551
order should not change.
555
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
556
<h3 class="title">Note</h3>
683
<p>The callee should copy and modify <em class="parameter"><code>factories</code></em>
684
or return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if the
685
order should not change.</p>
557
687
Invocation of signal handlers stops after one signal handler has
558
688
returned something else than <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>. Signal handlers are invoked in
559
689
the order they were connected in.
560
Don't connect signal handlers with the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-CONNECT-AFTER:CAPS"><span class="type">G_CONNECT_AFTER</span></a> flag to this
690
Don't connect signal handlers with the <span class="type">G_CONNECT_AFTER</span> flag to this
561
691
signal, they will never be invoked!
565
<div class="variablelist"><table border="0" class="variablelist">
693
<div class="refsect3">
694
<a name="id-1.2.36.13.7.7"></a><h4>Parameters</h4>
695
<div class="informaltable"><table width="100%" border="0">
567
<col align="left" valign="top">
697
<col width="150px" class="parameters_name">
698
<col class="parameters_description">
699
<col width="200px" class="parameters_annotations">
572
<td><p><span class="term"><em class="parameter"><code>bin</code></em> :</span></p></td>
573
<td>The uridecodebin.</td>
576
<td><p><span class="term"><em class="parameter"><code>pad</code></em> :</span></p></td>
577
<td>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>.</td>
580
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
581
<td>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>.</td>
584
<td><p><span class="term"><em class="parameter"><code>factories</code></em> :</span></p></td>
585
<td>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a> of possible <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html"><span class="type">GstElementFactory</span></a> to use.</td>
588
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
589
<td>user data set when the signal handler was connected.</td>
592
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
593
<td>A new sorted array of <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html"><span class="type">GstElementFactory</span></a> objects.</td>
703
<td class="parameter_name"><p>bin</p></td>
704
<td class="parameter_description"><p>The uridecodebin.</p></td>
705
<td class="parameter_annotations"> </td>
708
<td class="parameter_name"><p>pad</p></td>
709
<td class="parameter_description"><p>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>.</p></td>
710
<td class="parameter_annotations"> </td>
713
<td class="parameter_name"><p>caps</p></td>
714
<td class="parameter_description"><p>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>.</p></td>
715
<td class="parameter_annotations"> </td>
718
<td class="parameter_name"><p>factories</p></td>
719
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a> of possible <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html"><span class="type">GstElementFactory</span></a> to use.</p></td>
720
<td class="parameter_annotations"> </td>
723
<td class="parameter_name"><p>user_data</p></td>
724
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
725
<td class="parameter_annotations"> </td>
730
<div class="refsect3">
731
<a name="id-1.2.36.13.7.8"></a><h4>Returns</h4>
732
<p> A new sorted array of <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html"><span class="type">GstElementFactory</span></a> objects.</p>
735
<p>Flags: Run Last</p>
597
736
<p class="since">Since 0.10.33</p>
600
739
<div class="refsect2">
601
<a name="GstURIDecodeBin-source-setup"></a><h3>The <code class="literal">"source-setup"</code> signal</h3>
602
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *bin,
603
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> *source,
604
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
606
This signal is emitted after the source element has been created, so
740
<a name="GstURIDecodeBin-source-setup"></a><h3>The <code class="literal">“source-setup”</code> signal</h3>
741
<pre class="programlisting"><span class="returnvalue">void</span>
742
user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *bin,
743
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> *source,
744
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
745
<p>This signal is emitted after the source element has been created, so
607
746
it can be configured by setting additional properties (e.g. set a
608
747
proxy server for an http source, or set the device and read speed for
609
748
an audio cd source). This is functionally equivalent to connecting to
610
the notify::source signal, but more convenient.
612
<div class="variablelist"><table border="0" class="variablelist">
749
the notify::source signal, but more convenient.</p>
750
<div class="refsect3">
751
<a name="id-1.2.36.13.8.5"></a><h4>Parameters</h4>
752
<div class="informaltable"><table width="100%" border="0">
614
<col align="left" valign="top">
754
<col width="150px" class="parameters_name">
755
<col class="parameters_description">
756
<col width="200px" class="parameters_annotations">
619
<td><p><span class="term"><em class="parameter"><code>bin</code></em> :</span></p></td>
620
<td>the uridecodebin.</td>
623
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
624
<td>source element</td>
627
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
628
<td>user data set when the signal handler was connected.</td>
760
<td class="parameter_name"><p>bin</p></td>
761
<td class="parameter_description"><p>the uridecodebin.</p></td>
762
<td class="parameter_annotations"> </td>
765
<td class="parameter_name"><p>source</p></td>
766
<td class="parameter_description"><p>source element</p></td>
767
<td class="parameter_annotations"> </td>
770
<td class="parameter_name"><p>user_data</p></td>
771
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
772
<td class="parameter_annotations"> </td>
777
<p>Flags: Run Last</p>
632
778
<p class="since">Since 0.10.33</p>
635
781
<div class="refsect2">
636
<a name="GstURIDecodeBin-autoplug-query"></a><h3>The <code class="literal">"autoplug-query"</code> signal</h3>
637
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *gsturidecodebin,
638
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *arg1,
639
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> *arg2,
640
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstQuery.html#GstQuery"><span class="type">GstQuery</span></a> *arg3,
641
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
782
<a name="GstURIDecodeBin-autoplug-query"></a><h3>The <code class="literal">“autoplug-query”</code> signal</h3>
783
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
784
user_function (<a class="link" href="gst-plugins-base-plugins-uridecodebin.html#GstURIDecodeBin"><span class="type">GstURIDecodeBin</span></a> *gsturidecodebin,
785
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *arg1,
786
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> *arg2,
787
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstQuery.html#GstQuery"><span class="type">GstQuery</span></a> *arg3,
788
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
644
<div class="variablelist"><table border="0" class="variablelist">
791
<div class="refsect3">
792
<a name="id-1.2.36.13.9.5"></a><h4>Parameters</h4>
793
<div class="informaltable"><table width="100%" border="0">
646
<col align="left" valign="top">
795
<col width="150px" class="parameters_name">
796
<col class="parameters_description">
797
<col width="200px" class="parameters_annotations">
651
<td><p><span class="term"><em class="parameter"><code>gsturidecodebin</code></em> :</span></p></td>
652
<td>the object which received the signal.</td>
801
<td class="parameter_name"><p>gsturidecodebin</p></td>
802
<td class="parameter_description"><p>the object which received the signal.</p></td>
803
<td class="parameter_annotations"> </td>
655
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
656
<td>user data set when the signal handler was connected.</td>
806
<td class="parameter_name"><p>user_data</p></td>
807
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
808
<td class="parameter_annotations"> </td>
813
<div class="refsect3">
814
<a name="id-1.2.36.13.9.6"></a><h4>Returns</h4>
817
<p>Flags: Run Last</p>
663
821
<div class="footer">
665
Generated by GTK-Doc V1.19</div>
823
Generated by GTK-Doc V1.20</div>
b'\\ No newline at end of file'