Deadlock on setting queue to NULL state in PAUSED pipeline

Sebastian Dröge sebastian at centricular.com
Sat Dec 21 01:01:35 PST 2013


On Sa, 2013-12-21 at 10:31 +0200, Andrey Utkin wrote:
> What i do:
> create a pipeline, e.g. fakesrc ! queue name=to_delete ! fakesink
> set it to PLAYING state
> set it to PAUSED state after a while
> set the queue element to NULL state, as this is recommended before
> gst_bin_remove() on it. This step deadlocks.
> 
> Should i file a bugreport?

No, this deadlocks because the queue is still doing data-flow and when
setting it to READY/NULL this has to stop first. Because the pipeline is
PAUSED this will never happen though.

What exactly are you trying to do there?

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131221/830e58cd/attachment.pgp>


More information about the gstreamer-devel mailing list