[gst-devel] set_element_set_state & multi thread safe

franchan francis.meyvis at gmail.com
Tue Jan 5 13:42:13 CET 2010


Hello,

When I receive a buffering message,
I call gst_element_set_state(PAUSED)
from my synchronous message callback.
If just before the event is received,
the gst_element_set_state(NULL) is invoked
(because the user wants to quit the player),
I then seem to get locked on a GST_STATE_LOCK(element).
The application appears to be blocked forever.
Am I doing this the wrong way?

Thanks for you advice,
francis




More information about the gstreamer-devel mailing list