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,
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.