[gstreamer-bugs] [Bug 562170] GstBus watch does not receive EOS or SEGMENT_DONE events

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Nov 25 13:11:29 PST 2008


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

  GStreamer | gstreamer (core) | Ver: 0.10.21




------- Comment #4 from Tim-Philipp Müller  2008-11-25 21:11 UTC -------
Okay, guess I'll have to go and actually test this with a non-default context
then :)


> An extensive workaround is to write your own GSource, which is described here:
> http://article.gmane.org/gmane.comp.video.gstreamer.devel/21665
> 
> I currently use the above method with success, but probably GStreamer should be
> fixed too.

I think the reason this seems to work correctly is that the source_prepare
function implicitly sets/keeps *timeout=0, which means 'I'm ready to be
dispatched now'. You could probably achieve the same effect by adding an idle
or timeout source to your main context and use the standard GstBusSource.


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




More information about the Gstreamer-bugs mailing list