~ubuntu-branches/ubuntu/precise/gst-plugins-bad0.10/precise-proposed

« back to all changes in this revision

Viewing changes to docs/plugins/html/gst-plugins-bad-plugins-input-selector.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-08-21 22:00:02 UTC
  • mto: (18.3.14 experimental) (1.2.16 upstream)
  • mto: This revision was merged to the branch mainline in revision 48.
  • Revision ID: james.westby@ubuntu.com-20100821220002-odvockt6147viosl
Tags: upstream-0.10.19.4
Import upstream version 0.10.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
<div class="refsect1" title="Object Hierarchy">
50
50
<a name="gst-plugins-bad-plugins-input-selector.object-hierarchy"></a><h2>Object Hierarchy</h2>
51
51
<pre class="synopsis">
52
 
  <a href="http://library.gnome.org/devel/gobject/stable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
52
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
53
53
   +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
54
54
         +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
55
55
               +----GstInputSelector
59
59
<a name="gst-plugins-bad-plugins-input-selector.properties"></a><h2>Properties</h2>
60
60
<pre class="synopsis">
61
61
  "<a class="link" href="gst-plugins-bad-plugins-input-selector.html#GstInputSelector--active-pad" title='The "active-pad" property'>active-pad</a>"               <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>*               : Read / Write
62
 
  "<a class="link" href="gst-plugins-bad-plugins-input-selector.html#GstInputSelector--n-pads" title='The "n-pads" property'>n-pads</a>"                   <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read
63
 
  "<a class="link" href="gst-plugins-bad-plugins-input-selector.html#GstInputSelector--select-all" title='The "select-all" property'>select-all</a>"               <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
62
  "<a class="link" href="gst-plugins-bad-plugins-input-selector.html#GstInputSelector--n-pads" title='The "n-pads" property'>n-pads</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read
 
63
  "<a class="link" href="gst-plugins-bad-plugins-input-selector.html#GstInputSelector--select-all" title='The "select-all" property'>select-all</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
64
64
</pre>
65
65
</div>
66
66
<div class="refsect1" title="Signals">
95
95
<hr>
96
96
<div class="refsect2" title='The "n-pads" property'>
97
97
<a name="GstInputSelector--n-pads"></a><h3>The <code class="literal">"n-pads"</code> property</h3>
98
 
<pre class="programlisting">  "n-pads"                   <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read</pre>
 
98
<pre class="programlisting">  "n-pads"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read</pre>
99
99
<p>The number of sink pads.</p>
100
100
<p>Default value: 0</p>
101
101
</div>
102
102
<hr>
103
103
<div class="refsect2" title='The "select-all" property'>
104
104
<a name="GstInputSelector--select-all"></a><h3>The <code class="literal">"select-all"</code> property</h3>
105
 
<pre class="programlisting">  "select-all"               <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
105
<pre class="programlisting">  "select-all"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
106
106
<p>Forwards data from all input pads.</p>
107
107
<p>Default value: FALSE</p>
108
108
</div>
111
111
<a name="gst-plugins-bad-plugins-input-selector.signal-details"></a><h2>Signal Details</h2>
112
112
<div class="refsect2" title='The "block" signal'>
113
113
<a name="GstInputSelector-block"></a><h3>The <code class="literal">"block"</code> signal</h3>
114
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>              user_function                      (<a class="link" href="gst-plugins-bad-plugins-input-selector.html#GstInputSelector"><span class="type">GstInputSelector</span></a> *inputselector,
115
 
                                                        <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>          user_data)          : Run Last / Action</pre>
 
114
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>              user_function                      (<a class="link" href="gst-plugins-bad-plugins-input-selector.html#GstInputSelector"><span class="type">GstInputSelector</span></a> *inputselector,
 
115
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>          user_data)          : Run Last / Action</pre>
116
116
<p>
117
117
Block all sink pads in preparation for a switch. Returns the stop time of
118
118
the current switch segment, as a running time, or 0 if there is no current
138
138
<a name="GstInputSelector-switch"></a><h3>The <code class="literal">"switch"</code> signal</h3>
139
139
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="gst-plugins-bad-plugins-input-selector.html#GstInputSelector"><span class="type">GstInputSelector</span></a> *inputselector,
140
140
                                                        <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>           *pad,
141
 
                                                        <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>            stop_time,
142
 
                                                        <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>            start_time,
143
 
                                                        <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>          user_data)          : Run Last</pre>
 
141
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>            stop_time,
 
142
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>            start_time,
 
143
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>          user_data)          : Run Last</pre>
144
144
<p>
145
145
Switch to a new feed. The segment opened by the previously active pad, if
146
146
any, will be closed, and a new segment opened before data flows again.