[gstreamer-bugs] [Bug 440463] gstbin unit test sometimes hangs waiting for ASYNC_DONE message

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue May 22 09:31:01 PDT 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=440463

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #2 from Wim Taymans  2007-05-22 16:31 UTC -------
Created an attachment (id=88626)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=88626&action=view)
possible patch

The problem was because the get_state function recalculated the state and
discovered that it was no longer async. Then the state_continue function tries
to see if it needs to perform additional actions after the state change
completed. It saw nothing was pending and exited while it should have posted an
ASYNC_DONE message. 

This patch always makes the state_continue function post ASYNC_DONE. We can do
this unconditionally because we know that the ASYNC_DONE was not posted yet
when we started the function.


-- 
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=440463.




More information about the Gstreamer-bugs mailing list