| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <title>decodebin: GStreamer Base Plugins 1.0 Plugins Reference Manual</title> | |
| <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> | |
| <link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Plugins Reference Manual"> | |
| <link rel="up" href="ch01.html" title="gst-plugins-base Elements"> | |
| <link rel="prev" href="gst-plugins-base-plugins-clockoverlay.html" title="clockoverlay"> | |
| <link rel="next" href="gst-plugins-base-plugins-decodebin3.html" title="decodebin3"> | |
| <meta name="generator" content="GTK-Doc V1.25 (XML mode)"> | |
| <link rel="stylesheet" href="style.css" type="text/css"> | |
| </head> | |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> | |
| <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> | |
| <td width="100%" align="left" class="shortcuts"> | |
| <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> | |
| <a href="#gst-plugins-base-plugins-decodebin.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> | |
| <a href="#gst-plugins-base-plugins-decodebin.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span> | |
| <a href="#gst-plugins-base-plugins-decodebin.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span> | |
| <a href="#gst-plugins-base-plugins-decodebin.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span> | |
| <a href="#gst-plugins-base-plugins-decodebin.signals" class="shortcut">Signals</a></span> | |
| </td> | |
| <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> | |
| <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> | |
| <td><a accesskey="p" href="gst-plugins-base-plugins-clockoverlay.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> | |
| <td><a accesskey="n" href="gst-plugins-base-plugins-decodebin3.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> | |
| </tr></table> | |
| <div class="refentry"> | |
| <a name="gst-plugins-base-plugins-decodebin"></a><div class="titlepage"></div> | |
| <div class="refnamediv"><table width="100%"><tr> | |
| <td valign="top"> | |
| <h2><span class="refentrytitle"><a name="gst-plugins-base-plugins-decodebin.top_of_page"></a>decodebin</span></h2> | |
| <p>decodebin</p> | |
| </td> | |
| <td class="gallery_image" valign="top" align="right"></td> | |
| </tr></table></div> | |
| <div class="refsect1"> | |
| <a name="gst-plugins-base-plugins-decodebin.properties"></a><h2>Properties</h2> | |
| <div class="informaltable"><table class="informaltable" border="0"> | |
| <colgroup> | |
| <col width="150px" class="properties_type"> | |
| <col width="300px" class="properties_name"> | |
| <col width="200px" class="properties_flags"> | |
| </colgroup> | |
| <tbody> | |
| <tr> | |
| <td class="property_type"> | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *</td> | |
| <td class="property_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin--caps" title="The “caps” property">caps</a></td> | |
| <td class="property_flags">Read / Write</td> | |
| </tr> | |
| <tr> | |
| <td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a></td> | |
| <td class="property_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin--connection-speed" title="The “connection-speed” property">connection-speed</a></td> | |
| <td class="property_flags">Read / Write</td> | |
| </tr> | |
| <tr> | |
| <td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> | |
| <td class="property_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin--expose-all-streams" title="The “expose-all-streams” property">expose-all-streams</a></td> | |
| <td class="property_flags">Read / Write</td> | |
| </tr> | |
| <tr> | |
| <td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a></td> | |
| <td class="property_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin--high-percent" title="The “high-percent” property">high-percent</a></td> | |
| <td class="property_flags">Read / Write</td> | |
| </tr> | |
| <tr> | |
| <td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a></td> | |
| <td class="property_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin--low-percent" title="The “low-percent” property">low-percent</a></td> | |
| <td class="property_flags">Read / Write</td> | |
| </tr> | |
| <tr> | |
| <td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint"><span class="type">guint</span></a></td> | |
| <td class="property_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin--max-size-buffers" title="The “max-size-buffers” property">max-size-buffers</a></td> | |
| <td class="property_flags">Read / Write</td> | |
| </tr> | |
| <tr> | |
| <td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint"><span class="type">guint</span></a></td> | |
| <td class="property_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin--max-size-bytes" title="The “max-size-bytes” property">max-size-bytes</a></td> | |
| <td class="property_flags">Read / Write</td> | |
| </tr> | |
| <tr> | |
| <td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a></td> | |
| <td class="property_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin--max-size-time" title="The “max-size-time” property">max-size-time</a></td> | |
| <td class="property_flags">Read / Write</td> | |
| </tr> | |
| <tr> | |
| <td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> | |
| <td class="property_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin--post-stream-topology" title="The “post-stream-topology” property">post-stream-topology</a></td> | |
| <td class="property_flags">Read / Write</td> | |
| </tr> | |
| <tr> | |
| <td class="property_type"> | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *</td> | |
| <td class="property_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin--sink-caps" title="The “sink-caps” property">sink-caps</a></td> | |
| <td class="property_flags">Read / Write</td> | |
| </tr> | |
| <tr> | |
| <td class="property_type"> | |
| <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> | |
| <td class="property_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin--subtitle-encoding" title="The “subtitle-encoding” property">subtitle-encoding</a></td> | |
| <td class="property_flags">Read / Write</td> | |
| </tr> | |
| <tr> | |
| <td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> | |
| <td class="property_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin--use-buffering" title="The “use-buffering” property">use-buffering</a></td> | |
| <td class="property_flags">Read / Write</td> | |
| </tr> | |
| </tbody> | |
| </table></div> | |
| </div> | |
| <div class="refsect1"> | |
| <a name="gst-plugins-base-plugins-decodebin.signals"></a><h2>Signals</h2> | |
| <div class="informaltable"><table class="informaltable" border="0"> | |
| <colgroup> | |
| <col width="150px" class="signals_return"> | |
| <col width="300px" class="signals_name"> | |
| <col width="200px" class="signals_flags"> | |
| </colgroup> | |
| <tbody> | |
| <tr> | |
| <td class="signal_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td> | |
| <td class="signal_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin-autoplug-continue" title="The “autoplug-continue” signal">autoplug-continue</a></td> | |
| <td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td> | |
| </tr> | |
| <tr> | |
| <td class="signal_type"> | |
| <a href="/usr/share/gtk-doc/html/gobjectgobject-Value-arrays.html#GValueArray"><span class="returnvalue">GValueArray</span></a>*</td> | |
| <td class="signal_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin-autoplug-factories" title="The “autoplug-factories” signal">autoplug-factories</a></td> | |
| <td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td> | |
| </tr> | |
| <tr> | |
| <td class="signal_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td> | |
| <td class="signal_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin-autoplug-query" title="The “autoplug-query” signal">autoplug-query</a></td> | |
| <td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td> | |
| </tr> | |
| <tr> | |
| <td class="signal_type"><span class="returnvalue">GstAutoplugSelectResult</span></td> | |
| <td class="signal_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin-autoplug-select" title="The “autoplug-select” signal">autoplug-select</a></td> | |
| <td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td> | |
| </tr> | |
| <tr> | |
| <td class="signal_type"> | |
| <a href="/usr/share/gtk-doc/html/gobjectgobject-Value-arrays.html#GValueArray"><span class="returnvalue">GValueArray</span></a>*</td> | |
| <td class="signal_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin-autoplug-sort" title="The “autoplug-sort” signal">autoplug-sort</a></td> | |
| <td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td> | |
| </tr> | |
| <tr> | |
| <td class="signal_type"><span class="returnvalue">void</span></td> | |
| <td class="signal_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin-drained" title="The “drained” signal">drained</a></td> | |
| <td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td> | |
| </tr> | |
| <tr> | |
| <td class="signal_type"><span class="returnvalue">void</span></td> | |
| <td class="signal_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin-unknown-type" title="The “unknown-type” signal">unknown-type</a></td> | |
| <td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td> | |
| </tr> | |
| </tbody> | |
| </table></div> | |
| </div> | |
| <a name="GstDecodeBin"></a><div class="refsect1"> | |
| <a name="gst-plugins-base-plugins-decodebin.other"></a><h2>Types and Values</h2> | |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> | |
| <colgroup> | |
| <col width="150px" class="name"> | |
| <col class="description"> | |
| </colgroup> | |
| <tbody><tr> | |
| <td class="datatype_keyword">struct</td> | |
| <td class="function_name"><a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin-struct" title="struct GstDecodeBin">GstDecodeBin</a></td> | |
| </tr></tbody> | |
| </table></div> | |
| </div> | |
| <div class="refsect1"> | |
| <a name="gst-plugins-base-plugins-decodebin.object-hierarchy"></a><h2>Object Hierarchy</h2> | |
| <pre class="screen"> <a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#GObject-struct">GObject</a> | |
| <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> | |
| <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstObject.html#GstObject-struct">GstObject</a> | |
| <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstElement.html#GstElement-struct">GstElement</a> | |
| <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstBin.html#GstBin-struct">GstBin</a> | |
| <span class="lineart">╰──</span> GstDecodeBin | |
| </pre> | |
| </div> | |
| <div class="refsect1"> | |
| <a name="gst-plugins-base-plugins-decodebin.implemented-interfaces"></a><h2>Implemented Interfaces</h2> | |
| <p> | |
| GstDecodeBin implements | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstChildProxy.html#GstChildProxy-struct">GstChildProxy</a>.</p> | |
| </div> | |
| <div class="refsect1"> | |
| <a name="gst-plugins-base-plugins-decodebin.description"></a><h2>Description</h2> | |
| <p><a href="/usr/share/gtk-doc/html/gstreamer-1.0GstBin.html#GstBin-struct"><span class="type">GstBin</span></a> that auto-magically constructs a decoding pipeline using available | |
| decoders and demuxers via auto-plugging.</p> | |
| <p>decodebin is considered stable now and replaces the old <span class="type">decodebin</span> element. | |
| <span class="type">uridecodebin</span> uses decodebin internally and is often more convenient to | |
| use, as it creates a suitable source element as well.</p> | |
| <div class="refsynopsisdiv"> | |
| <h2>Synopsis</h2> | |
| <div class="refsect2"> | |
| <a name="id-1.2.14.9.4.1"></a><h3>Element Information</h3> | |
| <div class="variablelist"><table border="0" class="variablelist"> | |
| <colgroup> | |
| <col align="left" valign="top"> | |
| <col> | |
| </colgroup> | |
| <tbody> | |
| <tr> | |
| <td><p><span class="term">plugin</span></p></td> | |
| <td> | |
| <a class="link" href="gst-plugins-base-plugins-plugin-playback.html#plugin-playback">playback</a> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td><p><span class="term">author</span></p></td> | |
| <td>Edward Hervey <edward.hervey@collabora.co.uk>, Sebastian Dröge <sebastian.droege@collabora.co.uk></td> | |
| </tr> | |
| <tr> | |
| <td><p><span class="term">class</span></p></td> | |
| <td>Generic/Bin/Decoder</td> | |
| </tr> | |
| </tbody> | |
| </table></div> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="id-1.2.14.9.4.2"></a><h3>Element Pads</h3> | |
| <div class="variablelist"><table border="0" class="variablelist"> | |
| <colgroup> | |
| <col align="left" valign="top"> | |
| <col> | |
| </colgroup> | |
| <tbody> | |
| <tr> | |
| <td><p><span class="term">name</span></p></td> | |
| <td>sink</td> | |
| </tr> | |
| <tr> | |
| <td><p><span class="term">direction</span></p></td> | |
| <td>sink</td> | |
| </tr> | |
| <tr> | |
| <td><p><span class="term">presence</span></p></td> | |
| <td>always</td> | |
| </tr> | |
| <tr> | |
| <td><p><span class="term">details</span></p></td> | |
| <td>ANY</td> | |
| </tr> | |
| </tbody> | |
| </table></div> | |
| <div class="variablelist"><table border="0" class="variablelist"> | |
| <colgroup> | |
| <col align="left" valign="top"> | |
| <col> | |
| </colgroup> | |
| <tbody> | |
| <tr> | |
| <td><p><span class="term">name</span></p></td> | |
| <td>src_%u</td> | |
| </tr> | |
| <tr> | |
| <td><p><span class="term">direction</span></p></td> | |
| <td>source</td> | |
| </tr> | |
| <tr> | |
| <td><p><span class="term">presence</span></p></td> | |
| <td>sometimes</td> | |
| </tr> | |
| <tr> | |
| <td><p><span class="term">details</span></p></td> | |
| <td>ANY</td> | |
| </tr> | |
| </tbody> | |
| </table></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="refsect1"> | |
| <a name="gst-plugins-base-plugins-decodebin.functions_details"></a><h2>Functions</h2> | |
| <p></p> | |
| </div> | |
| <div class="refsect1"> | |
| <a name="gst-plugins-base-plugins-decodebin.other_details"></a><h2>Types and Values</h2> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin-struct"></a><h3>struct GstDecodeBin</h3> | |
| <pre class="programlisting">struct GstDecodeBin;</pre> | |
| <p>The opaque <a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin"><span class="type">GstDecodeBin</span></a> data structure</p> | |
| </div> | |
| </div> | |
| <div class="refsect1"> | |
| <a name="gst-plugins-base-plugins-decodebin.property-details"></a><h2>Property Details</h2> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin--caps"></a><h3>The <code class="literal">“caps”</code> property</h3> | |
| <pre class="programlisting"> “caps” <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *</pre> | |
| <p>The caps on which to stop decoding.</p> | |
| <p>Flags: Read / Write</p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin--connection-speed"></a><h3>The <code class="literal">“connection-speed”</code> property</h3> | |
| <pre class="programlisting"> “connection-speed” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre> | |
| <p>Network connection speed in kbps (0 = unknown).</p> | |
| <p>Flags: Read / Write</p> | |
| <p>Allowed values: <= 18446744073709551</p> | |
| <p>Default value: 0</p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin--expose-all-streams"></a><h3>The <code class="literal">“expose-all-streams”</code> property</h3> | |
| <pre class="programlisting"> “expose-all-streams” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> | |
| <p>Expose all streams, including those of unknown type or that don't match the 'caps' property.</p> | |
| <p>Flags: Read / Write</p> | |
| <p>Default value: TRUE</p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin--high-percent"></a><h3>The <code class="literal">“high-percent”</code> property</h3> | |
| <pre class="programlisting"> “high-percent” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> | |
| <p>High threshold percent for buffering to finish.</p> | |
| <p>Flags: Read / Write</p> | |
| <p>Allowed values: [0,100]</p> | |
| <p>Default value: 99</p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin--low-percent"></a><h3>The <code class="literal">“low-percent”</code> property</h3> | |
| <pre class="programlisting"> “low-percent” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> | |
| <p>Low threshold percent for buffering to start.</p> | |
| <p>Flags: Read / Write</p> | |
| <p>Allowed values: [0,100]</p> | |
| <p>Default value: 10</p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin--max-size-buffers"></a><h3>The <code class="literal">“max-size-buffers”</code> property</h3> | |
| <pre class="programlisting"> “max-size-buffers” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint"><span class="type">guint</span></a></pre> | |
| <p>Max amount of buffers in the queue (0=automatic).</p> | |
| <p>Flags: Read / Write</p> | |
| <p>Default value: 0</p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin--max-size-bytes"></a><h3>The <code class="literal">“max-size-bytes”</code> property</h3> | |
| <pre class="programlisting"> “max-size-bytes” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint"><span class="type">guint</span></a></pre> | |
| <p>Max amount of bytes in the queue (0=automatic).</p> | |
| <p>Flags: Read / Write</p> | |
| <p>Default value: 0</p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin--max-size-time"></a><h3>The <code class="literal">“max-size-time”</code> property</h3> | |
| <pre class="programlisting"> “max-size-time” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre> | |
| <p>Max amount of time in the queue (in ns, 0=automatic).</p> | |
| <p>Flags: Read / Write</p> | |
| <p>Default value: 0</p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin--post-stream-topology"></a><h3>The <code class="literal">“post-stream-topology”</code> property</h3> | |
| <pre class="programlisting"> “post-stream-topology” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> | |
| <p>Post stream-topology messages.</p> | |
| <p>Flags: Read / Write</p> | |
| <p>Default value: FALSE</p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin--sink-caps"></a><h3>The <code class="literal">“sink-caps”</code> property</h3> | |
| <pre class="programlisting"> “sink-caps” <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *</pre> | |
| <p>The caps of the input data. (NULL = use typefind element).</p> | |
| <p>Flags: Read / Write</p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin--subtitle-encoding"></a><h3>The <code class="literal">“subtitle-encoding”</code> property</h3> | |
| <pre class="programlisting"> “subtitle-encoding” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> | |
| <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> | |
| <p>Flags: Read / Write</p> | |
| <p>Default value: NULL</p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin--use-buffering"></a><h3>The <code class="literal">“use-buffering”</code> property</h3> | |
| <pre class="programlisting"> “use-buffering” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> | |
| <p>Emit GST_MESSAGE_BUFFERING based on low-/high-percent thresholds.</p> | |
| <p>Flags: Read / Write</p> | |
| <p>Default value: FALSE</p> | |
| </div> | |
| </div> | |
| <div class="refsect1"> | |
| <a name="gst-plugins-base-plugins-decodebin.signal-details"></a><h2>Signal Details</h2> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin-autoplug-continue"></a><h3>The <code class="literal">“autoplug-continue”</code> signal</h3> | |
| <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> | |
| user_function (<a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin"><span class="type">GstDecodeBin</span></a> *bin, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstPad.html#GstPad-struct"><span class="type">GstPad</span></a> *pad, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps, | |
| <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> | |
| <p>This signal is emitted whenever decodebin finds a new stream. It is | |
| emitted before looking for any elements that can handle that stream.</p> | |
| <div class="note"> | |
| Invocation of signal handlers stops after the first signal handler | |
| returns <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a>. Signal handlers are invoked in the order they were | |
| connected in. | |
| </div> | |
| <div class="refsect3"> | |
| <a name="GstDecodeBin-autoplug-continue.parameters"></a><h4>Parameters</h4> | |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> | |
| <colgroup> | |
| <col width="150px" class="parameters_name"> | |
| <col class="parameters_description"> | |
| <col width="200px" class="parameters_annotations"> | |
| </colgroup> | |
| <tbody> | |
| <tr> | |
| <td class="parameter_name"><p>bin</p></td> | |
| <td class="parameter_description"><p>The decodebin.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>pad</p></td> | |
| <td class="parameter_description"><p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstPad.html#GstPad-struct"><span class="type">GstPad</span></a>.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>caps</p></td> | |
| <td class="parameter_description"><p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> found.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>user_data</p></td> | |
| <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| </tbody> | |
| </table></div> | |
| </div> | |
| <div class="refsect3"> | |
| <a name="GstDecodeBin-autoplug-continue.returns"></a><h4>Returns</h4> | |
| <p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if you wish decodebin to look for elements that can | |
| handle the given <em class="parameter"><code>caps</code></em> | |
| . If <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a>, those caps will be considered as | |
| final and the pad will be exposed as such (see 'pad-added' signal of | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstElement.html#GstElement-struct"><span class="type">GstElement</span></a>).</p> | |
| </div> | |
| <p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin-autoplug-factories"></a><h3>The <code class="literal">“autoplug-factories”</code> signal</h3> | |
| <pre class="programlisting"><a href="/usr/share/gtk-doc/html/gobjectgobject-Value-arrays.html#GValueArray"><span class="returnvalue">GValueArray</span></a>* | |
| user_function (<a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin"><span class="type">GstDecodeBin</span></a> *bin, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstPad.html#GstPad-struct"><span class="type">GstPad</span></a> *pad, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps, | |
| <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> | |
| <p>This function is emited when an array of possible factories for <em class="parameter"><code>caps</code></em> | |
| on | |
| <em class="parameter"><code>pad</code></em> | |
| is needed. Decodebin will by default return an array with all | |
| compatible factories, sorted by rank.</p> | |
| <p>If this function returns NULL, <em class="parameter"><code>pad</code></em> | |
| will be exposed as a final caps.</p> | |
| <p>If this function returns an empty array, the pad will be considered as | |
| having an unhandled type media type.</p> | |
| <div class="note"> | |
| Only the signal handler that is connected first will ever by invoked. | |
| Don't connect signal handlers with the <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-CONNECT-AFTER:CAPS"><span class="type">G_CONNECT_AFTER</span></a> flag to this | |
| signal, they will never be invoked! | |
| </div> | |
| <div class="refsect3"> | |
| <a name="GstDecodeBin-autoplug-factories.parameters"></a><h4>Parameters</h4> | |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> | |
| <colgroup> | |
| <col width="150px" class="parameters_name"> | |
| <col class="parameters_description"> | |
| <col width="200px" class="parameters_annotations"> | |
| </colgroup> | |
| <tbody> | |
| <tr> | |
| <td class="parameter_name"><p>bin</p></td> | |
| <td class="parameter_description"><p>The decodebin.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>pad</p></td> | |
| <td class="parameter_description"><p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstPad.html#GstPad-struct"><span class="type">GstPad</span></a>.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>caps</p></td> | |
| <td class="parameter_description"><p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> found.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>user_data</p></td> | |
| <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| </tbody> | |
| </table></div> | |
| </div> | |
| <div class="refsect3"> | |
| <a name="GstDecodeBin-autoplug-factories.returns"></a><h4>Returns</h4> | |
| <p> a <a href="/usr/share/gtk-doc/html/gobjectgobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a>* with a list of factories to try. The factories are | |
| by default tried in the returned order or based on the index returned by | |
| "autoplug-select".</p> | |
| </div> | |
| <p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin-autoplug-query"></a><h3>The <code class="literal">“autoplug-query”</code> signal</h3> | |
| <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> | |
| user_function (<a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin"><span class="type">GstDecodeBin</span></a> *bin, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstPad.html#GstPad-struct"><span class="type">GstPad</span></a> *pad, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstElement.html#GstElement-struct"><span class="type">GstElement</span></a> *child, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstQuery.html#GstQuery-struct"><span class="type">GstQuery</span></a> *query, | |
| <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> | |
| <p>This signal is emitted whenever an autoplugged element that is | |
| not linked downstream yet and not exposed does a query. It can | |
| be used to tell the element about the downstream supported caps | |
| for example.</p> | |
| <div class="refsect3"> | |
| <a name="GstDecodeBin-autoplug-query.parameters"></a><h4>Parameters</h4> | |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> | |
| <colgroup> | |
| <col width="150px" class="parameters_name"> | |
| <col class="parameters_description"> | |
| <col width="200px" class="parameters_annotations"> | |
| </colgroup> | |
| <tbody> | |
| <tr> | |
| <td class="parameter_name"><p>bin</p></td> | |
| <td class="parameter_description"><p>The decodebin.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>pad</p></td> | |
| <td class="parameter_description"><p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstPad.html#GstPad-struct"><span class="type">GstPad</span></a>.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>child</p></td> | |
| <td class="parameter_description"><p>The child element doing the query</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>query</p></td> | |
| <td class="parameter_description"><p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstQuery.html#GstQuery-struct"><span class="type">GstQuery</span></a>.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>user_data</p></td> | |
| <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| </tbody> | |
| </table></div> | |
| </div> | |
| <div class="refsect3"> | |
| <a name="GstDecodeBin-autoplug-query.returns"></a><h4>Returns</h4> | |
| <p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the query was handled, <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a> otherwise.</p> | |
| </div> | |
| <p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin-autoplug-select"></a><h3>The <code class="literal">“autoplug-select”</code> signal</h3> | |
| <pre class="programlisting"><span class="returnvalue">GstAutoplugSelectResult</span> | |
| user_function (<a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin"><span class="type">GstDecodeBin</span></a> *bin, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstPad.html#GstPad-struct"><span class="type">GstPad</span></a> *pad, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstElementFactory.html#GstElementFactory-struct"><span class="type">GstElementFactory</span></a> *factory, | |
| <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> | |
| <p>This signal is emitted once decodebin has found all the possible | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstElementFactory.html#GstElementFactory-struct"><span class="type">GstElementFactory</span></a> that can be used to handle the given <em class="parameter"><code>caps</code></em> | |
| . For each of | |
| those factories, this signal is emitted.</p> | |
| <p>The signal handler should return a <span class="type">GST_TYPE_AUTOPLUG_SELECT_RESULT</span> enum | |
| value indicating what decodebin should do next.</p> | |
| <p>A value of <span class="type">GST_AUTOPLUG_SELECT_TRY</span> will try to autoplug an element from | |
| <em class="parameter"><code>factory</code></em> | |
| .</p> | |
| <p>A value of <span class="type">GST_AUTOPLUG_SELECT_EXPOSE</span> will expose <em class="parameter"><code>pad</code></em> | |
| without plugging | |
| any element to it.</p> | |
| <p>A value of <span class="type">GST_AUTOPLUG_SELECT_SKIP</span> will skip <em class="parameter"><code>factory</code></em> | |
| and move to the | |
| next factory.</p> | |
| <div class="note"> | |
| The signal handler will not be invoked if any of the previously | |
| registered signal handlers (if any) return a value other than | |
| GST_AUTOPLUG_SELECT_TRY. Which also means that if you return | |
| GST_AUTOPLUG_SELECT_TRY from one signal handler, handlers that get | |
| registered next (again, if any) can override that decision. | |
| </div> | |
| <div class="refsect3"> | |
| <a name="GstDecodeBin-autoplug-select.parameters"></a><h4>Parameters</h4> | |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> | |
| <colgroup> | |
| <col width="150px" class="parameters_name"> | |
| <col class="parameters_description"> | |
| <col width="200px" class="parameters_annotations"> | |
| </colgroup> | |
| <tbody> | |
| <tr> | |
| <td class="parameter_name"><p>bin</p></td> | |
| <td class="parameter_description"><p>The decodebin.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>pad</p></td> | |
| <td class="parameter_description"><p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstPad.html#GstPad-struct"><span class="type">GstPad</span></a>.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>caps</p></td> | |
| <td class="parameter_description"><p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a>.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>factory</p></td> | |
| <td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstElementFactory.html#GstElementFactory-struct"><span class="type">GstElementFactory</span></a> to use.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>user_data</p></td> | |
| <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| </tbody> | |
| </table></div> | |
| </div> | |
| <div class="refsect3"> | |
| <a name="GstDecodeBin-autoplug-select.returns"></a><h4>Returns</h4> | |
| <p> a <span class="type">GST_TYPE_AUTOPLUG_SELECT_RESULT</span> that indicates the required | |
| operation. the default handler will always return | |
| <span class="type">GST_AUTOPLUG_SELECT_TRY</span>.</p> | |
| </div> | |
| <p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin-autoplug-sort"></a><h3>The <code class="literal">“autoplug-sort”</code> signal</h3> | |
| <pre class="programlisting"><a href="/usr/share/gtk-doc/html/gobjectgobject-Value-arrays.html#GValueArray"><span class="returnvalue">GValueArray</span></a>* | |
| user_function (<a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin"><span class="type">GstDecodeBin</span></a> *bin, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstPad.html#GstPad-struct"><span class="type">GstPad</span></a> *pad, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps, | |
| <a href="/usr/share/gtk-doc/html/gobjectgobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a> *factories, | |
| <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> | |
| <p>Once decodebin has found the possible <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstElementFactory.html#GstElementFactory-struct"><span class="type">GstElementFactory</span></a> objects to try | |
| 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 | |
| the application to perform additional sorting or filtering on the element | |
| factory array.</p> | |
| <p>The callee should copy and modify <em class="parameter"><code>factories</code></em> | |
| or return <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if the | |
| order should not change.</p> | |
| <div class="note"> | |
| Invocation of signal handlers stops after one signal handler has | |
| returned something else than <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>. Signal handlers are invoked in | |
| the order they were connected in. | |
| Don't connect signal handlers with the <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-CONNECT-AFTER:CAPS"><span class="type">G_CONNECT_AFTER</span></a> flag to this | |
| signal, they will never be invoked! | |
| </div> | |
| <div class="refsect3"> | |
| <a name="GstDecodeBin-autoplug-sort.parameters"></a><h4>Parameters</h4> | |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> | |
| <colgroup> | |
| <col width="150px" class="parameters_name"> | |
| <col class="parameters_description"> | |
| <col width="200px" class="parameters_annotations"> | |
| </colgroup> | |
| <tbody> | |
| <tr> | |
| <td class="parameter_name"><p>bin</p></td> | |
| <td class="parameter_description"><p>The decodebin.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>pad</p></td> | |
| <td class="parameter_description"><p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstPad.html#GstPad-struct"><span class="type">GstPad</span></a>.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>caps</p></td> | |
| <td class="parameter_description"><p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a>.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>factories</p></td> | |
| <td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/gobjectgobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a> of possible <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstElementFactory.html#GstElementFactory-struct"><span class="type">GstElementFactory</span></a> to use.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>user_data</p></td> | |
| <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| </tbody> | |
| </table></div> | |
| </div> | |
| <div class="refsect3"> | |
| <a name="GstDecodeBin-autoplug-sort.returns"></a><h4>Returns</h4> | |
| <p> A new sorted array of <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstElementFactory.html#GstElementFactory-struct"><span class="type">GstElementFactory</span></a> objects.</p> | |
| </div> | |
| <p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin-drained"></a><h3>The <code class="literal">“drained”</code> signal</h3> | |
| <pre class="programlisting"><span class="returnvalue">void</span> | |
| user_function (<a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin"><span class="type">GstDecodeBin</span></a> *bin, | |
| <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> | |
| <p>This signal is emitted once decodebin has finished decoding all the data.</p> | |
| <div class="refsect3"> | |
| <a name="GstDecodeBin-drained.parameters"></a><h4>Parameters</h4> | |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> | |
| <colgroup> | |
| <col width="150px" class="parameters_name"> | |
| <col class="parameters_description"> | |
| <col width="200px" class="parameters_annotations"> | |
| </colgroup> | |
| <tbody> | |
| <tr> | |
| <td class="parameter_name"><p>bin</p></td> | |
| <td class="parameter_description"><p>The decodebin</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>user_data</p></td> | |
| <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| </tbody> | |
| </table></div> | |
| </div> | |
| <p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p> | |
| </div> | |
| <hr> | |
| <div class="refsect2"> | |
| <a name="GstDecodeBin-unknown-type"></a><h3>The <code class="literal">“unknown-type”</code> signal</h3> | |
| <pre class="programlisting"><span class="returnvalue">void</span> | |
| user_function (<a class="link" href="gst-plugins-base-plugins-decodebin.html#GstDecodeBin"><span class="type">GstDecodeBin</span></a> *bin, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstPad.html#GstPad-struct"><span class="type">GstPad</span></a> *pad, | |
| <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps, | |
| <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> | |
| <p>This signal is emitted when a pad for which there is no further possible | |
| decoding is added to the decodebin.</p> | |
| <div class="refsect3"> | |
| <a name="GstDecodeBin-unknown-type.parameters"></a><h4>Parameters</h4> | |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> | |
| <colgroup> | |
| <col width="150px" class="parameters_name"> | |
| <col class="parameters_description"> | |
| <col width="200px" class="parameters_annotations"> | |
| </colgroup> | |
| <tbody> | |
| <tr> | |
| <td class="parameter_name"><p>bin</p></td> | |
| <td class="parameter_description"><p>The decodebin.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>pad</p></td> | |
| <td class="parameter_description"><p>The new pad containing caps that cannot be resolved to a 'final' | |
| stream type.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>caps</p></td> | |
| <td class="parameter_description"><p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> of the pad that cannot be resolved.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| <tr> | |
| <td class="parameter_name"><p>user_data</p></td> | |
| <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> | |
| <td class="parameter_annotations"> </td> | |
| </tr> | |
| </tbody> | |
| </table></div> | |
| </div> | |
| <p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="footer"> | |
| <hr>Generated by GTK-Doc V1.25</div> | |
| </body> | |
| </html> |