gstreamer/plugins
Tim-Philipp Müller 902a5e6bdc queue: fix race when flush-stop event comes in whilst shutting down
Don't re-start the queue push task on the source pad when a
flush-stop event comes in and we're in the process of shutting
down, otherwise that task will never be stopped again.

When the element is set to READY state, the pads get de-activated.
The source pad gets deactivated before the queue's own activate_mode
function on the source pads gets called (which will stop the thread),
so checking whether the pad is active before re-starting the task on
receiving flush-stop should be fine. The problem would happen when the
flush-stop handler was called just after the queue's activate mode
function had stopped the task.

Spotted and debugged by Linus Svensson <linux.svensson@axis.com>

https://bugzilla.gnome.org/show_bug.cgi?id=734688
2014-08-23 12:40:35 +01:00
..
elements queue: fix race when flush-stop event comes in whilst shutting down 2014-08-23 12:40:35 +01:00
Makefile.am index: remove GstIndex and GstIndexFactory for now 2011-12-30 18:32:57 +00:00