63
63
"<a class="link" href="gstreamer-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
64
64
"<a class="link" href="gstreamer-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
65
65
"<a class="link" href="gstreamer-plugins-input-selector.html#GstInputSelector--sync-streams" title='The "sync-streams" property'>sync-streams</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
66
"<a class="link" href="gstreamer-plugins-input-selector.html#GstInputSelector--cache-buffers" title='The "cache-buffers" property'>cache-buffers</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
67
"<a class="link" href="gstreamer-plugins-input-selector.html#GstInputSelector--sync-mode" title='The "sync-mode" property'>sync-mode</a>" <span class="type">GstInputSelectorSyncMode</span> : Read / Write
68
70
<div class="refsect1">
103
105
<div class="refsynopsisdiv">
104
106
<h2>Synopsis</h2>
105
107
<div class="refsect2">
106
<a name="idp9842896"></a><h3>Element Information</h3>
108
<a name="idp11337552"></a><h3>Element Information</h3>
107
109
<div class="variablelist"><table border="0">
108
110
<col align="left" valign="top">
210
212
<pre class="programlisting"> "sync-streams" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
212
214
If set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> all inactive streams will be synced to the
213
running time of the active stream. This makes sure that no
214
buffers are dropped by input-selector that might be needed
215
when switching the active pad.
215
running time of the active stream or to the current clock.
218
To make sure no buffers are dropped by input-selector
219
that might be needed when switching the active pad,
220
sync-mode should be set to "clock" and cache-buffers to TRUE.
217
222
<p>Default value: TRUE</p>
218
223
<p class="since">Since 0.10.36</p>
226
<div class="refsect2">
227
<a name="GstInputSelector--cache-buffers"></a><h3>The <code class="literal">"cache-buffers"</code> property</h3>
228
<pre class="programlisting"> "cache-buffers" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
230
If set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and GstInputSelector:sync-streams is also set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>,
231
the active pad will cache the buffers still considered valid (after current
232
running time, see sync-mode) to avoid missing frames if/when the pad is
236
The active pad may push more buffers than what is currently displayed/consumed
237
and when changing pads those buffers will be discarded and the only way to
238
reactivate that pad without loosing the already consumed buffers is to enable cache.
240
<p>Default value: FALSE</p>
243
<div class="refsect2">
244
<a name="GstInputSelector--sync-mode"></a><h3>The <code class="literal">"sync-mode"</code> property</h3>
245
<pre class="programlisting"> "sync-mode" <span class="type">GstInputSelectorSyncMode</span> : Read / Write</pre>
247
Select how input-selector will sync buffers when in sync-streams mode.
250
Note that when using the "active-segment" mode, the "active-segment" may
251
be ahead of current clock time when switching the active pad, as the current
252
active pad may have pushed more buffers than what was displayed/consumed,
253
which may cause delays and some missing buffers.
255
<p>Default value: Sync using the current active segment</p>
256
<p class="since">Since 0.10.36</p>
221
259
<div class="refsect1">
222
260
<a name="gstreamer-plugins-input-selector.signal-details"></a><h2>Signal Details</h2>