~ubuntu-branches/ubuntu/trusty/gstreamer1.0/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/plugins/html/gstreamer-plugins-input-selector.html

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2012-06-08 09:38:04 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120608093804-q9gzihfevul7nqtc
Tags: 0.11.92-1
* debian/control.in:
  + Update automake, autoconf and libtool build dependencies.
* New upstream release, "High Hopes":
  + debian/libgstreamer.symbols:
    - Update symbols file.
* debian/gst-codec-info.c:
  + Updated for API changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
66
68
</pre>
67
69
</div>
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">
109
111
<tbody>
126
128
</div>
127
129
<hr>
128
130
<div class="refsect2">
129
 
<a name="idp10612512"></a><h3>Element Pads</h3>
 
131
<a name="idp11345088"></a><h3>Element Pads</h3>
130
132
<div class="variablelist"><table border="0">
131
133
<col align="left" valign="top">
132
134
<tbody>
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>
211
213
<p>
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.
 
216
</p>
 
217
<p>
 
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.
216
221
</p>
217
222
<p>Default value: TRUE</p>
218
223
<p class="since">Since 0.10.36</p>
219
224
</div>
 
225
<hr>
 
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>
 
229
<p>
 
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
 
233
reactivated.
 
234
</p>
 
235
<p>
 
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.
 
239
</p>
 
240
<p>Default value: FALSE</p>
 
241
</div>
 
242
<hr>
 
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>
 
246
<p>
 
247
Select how input-selector will sync buffers when in sync-streams mode.
 
248
</p>
 
249
<p>
 
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.
 
254
</p>
 
255
<p>Default value: Sync using the current active segment</p>
 
256
<p class="since">Since 0.10.36</p>
 
257
</div>
220
258
</div>
221
259
<div class="refsect1">
222
260
<a name="gstreamer-plugins-input-selector.signal-details"></a><h2>Signal Details</h2>