[gstreamer-bugs] [Bug 339326] pads not set to FLUSHING when created
bugzilla-daemon at bugzilla.gnome.org
Tue Apr 3 15:58:45 PDT 2007
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
GStreamer | gstreamer (core) | Ver: HEAD CVS
------- Comment #8 from Olivier Crete 2007-04-03 22:58 UTC -------
I think I found the problem... It has to do with ghostpads and bins.
One case is, I have a bin (actually a rtpbin), which is either in the NULL or
PAUSED state to which I add an element and then create a sink ghostpad from
that element's sinkpad. If I set the ghostpad active before adding it to the
bin, it breaks with 0.10.9, if I don't 0.10.12 complains.
The second case is similar, I have a bin which may be in the PAUSED state, to
which I add a new element (which is in the NULL state), then create a ghostpad,
add it to the bin and use it to link it to an element outside the bin. If I set
the ghostpad active before adding it to the bin, data doesn't flow in 0.10.9,
if I set it active after adding to the bin, 0.10.12 outputs a warning (this is
from farsight code).
In both cases, I can aleviate the problem by setting the ghostpad active only
if the pad it refers to is active, but that still outputs a warning on 0.10.12.
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=339326.
More information about the Gstreamer-bugs