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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Dec 26 10:30:26 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

Wim Taymans changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim.taymans at gmail.com
             Status|UNCONFIRMED                 |NEEDINFO




------- Comment #1 from Wim Taymans  2007-12-26 18:30 UTC -------
This is as designed. You can check for this condition by:

- regularly poll the state (with a timeout, so that you don't block forever).
- act when you receive the ASYNC_DONE message on the bus.

Another option would be to make the get_state function return a FAILURE when an
error is posted from the pipeline. This is not done yet, do you think it's
needed?


-- 
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