GNOME Bugzilla – Bug 320340
triggering a gst_task_join from the streaming task can deadlock
Last modified: 2006-02-14 09:08:59 UTC
the implementation should probably throw a warning/error and return FALSE instead. a unit test for this should be added as well. documentation should be added to GstElement to explain typical cases how this could be triggered; for example, setting state from a buffer probe callback
This is a programming error; the function cannot be called from the streaming thread. However we should probably be nicer to programmers and detect this deadlock, giving them a nice error. Still a valid bug but not an api bug and not a blocker.
fixed in CVS.
*** Bug 329890 has been marked as a duplicate of this bug. ***
note, gstreamer core will now complain when trying to shut down streaming from the streaming thread.