[Bug 647493] Regression: gstbus: Not getting all messages posted on the bus
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Apr 27 07:35:51 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=647493
GStreamer | gstreamer (core) | git
--- Comment #12 from Håvard Graff (hgr) <havard.graff at tandberg.com> 2011-04-27 14:35:43 UTC ---
Ok, so I found the OSX problem!
The mistake is in gst_bus_timed_pop_filtered:
if (timeout > elapsed)
timeout -= elapsed;
else
timeout = 0;
This is wrong. You can't subtract elapsed from timeout. That way you can eat up
20 seconds (our case) in a few milliseconds.
It should probably read:
if (elapsed >= timeout)
timeout = 0;
or maybe even:
if (elapsed > timeout)
break;
I am no closer to the Windows-issue though, which seems to be a different one.
(Probably related to GstPoll somehow)
I'll keep digging, even if you have decided to revert for now, I am assuming it
is coming back, so might as well do it now while I am at it :)
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list