Deadlock on setting queue to NULL state in PAUSED pipeline

Andrey Utkin andrey.krieger.utkin at gmail.com
Mon Dec 23 16:28:31 PST 2013


2013/12/21 Sebastian Dröge <sebastian at centricular.com>:
> Take a look at pad probes, especially the idle probe. From that probe
> callback you can safely relink elements inside a pipeline, even in
> PLAYING state. PAUSED state might be a bit dangerous because of what I
> mentioned above (the pad might never become idle).

I tried doing gst_element_release_request_pad() from that sourcepad
idle probe callback. It works strage, the callback can be called
either from same thread that does gst_pad_add_probe(), or
asynchronously from within pad's task thread.

-- 
Andrey Utkin


More information about the gstreamer-devel mailing list