manual: no more new-decoded-pad

This commit is contained in:
Wim Taymans 2012-10-12 13:15:48 +02:00
parent 0f9fb7d884
commit 2895fc6fca
2 changed files with 2 additions and 2 deletions

View file

@ -557,7 +557,7 @@ main (int argc,
automatically, so it's usually only necessary to set the state of the
top-level pipeline to start up the pipeline or shut it down. However,
when adding elements dynamically to an already-running pipeline, e.g.
from within a "pad-added" or "new-decoded-pad" signal callback, you
from within a "pad-added" signal callback, you
need to set it to the desired target state yourself using
<function>gst_element_set_state ()</function> or
<function>gst_element_sync_state_with_parent ()</function>.

View file

@ -120,7 +120,7 @@ main (int argc,
<!-- example-end pad.c d --></programlisting>
<para>
It is not uncommon to add elements to the pipeline only from within
the "pad-added" or "new-decoded-pad" callback. If you do this, don't
the "pad-added" callback. If you do this, don't
forget to set the state of the newly-added elements to the target
state of the pipeline using
<function>gst_element_set_state ()</function> or