[gstreamer-bugs] [Bug 505770] gst_element_get_state may deadlock

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Dec 26 12:05:57 PST 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=505770

  GStreamer | gstreamer (core) | Ver: 0.10.14

Andrzej Szombierski changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED




------- Comment #2 from Andrzej Szombierski  2007-12-26 20:05 UTC -------
The documentation states clearly:
"If the element completes the state change or goes into an error, this function
returns immediately with a return value of GST_STATE_CHANGE_SUCCESS or
GST_STATE_CHANGE_FAILURE respectively."

I wish to synchronously change the state and leave the glib main loop alone, so
waiting for error events is not really an option. Polling with a nonzero
timeout - it will possibly work, but a timeout does not tell me if the
state-change has failed, or it is just taking longer than usual.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=505770.




More information about the Gstreamer-bugs mailing list