[gstreamer-bugs] [Bug 504040] gst_element_send_event() does not pass events to default event handler if the overloaded handler did not handle them

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Dec 17 05:51:36 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=504040

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #3 from Wouter Cloetens  2007-12-17 13:51 UTC -------
The use case is the following.
My pipeline is:
souphttpsrc !           motion JPEG HTTP stream from camera
multipartdemux !
metadataparse !         extract image size from JPEG, bug 503616
queue !
matroskamux !           patched to not require redundant framerate in caps
filesink

I need to be able to interrupt the pipeline and finish off the Matroska file
cleanly. The only solution that does not result in filesink going to READY and
refusing subsequent writes from matroskamux to close off the file cleanly (and
write the duration header), is to send an EOS event to souphttpsrc. However,
GstBaseSrc's event handler does not handle an EOS event and returns false. The
event is then discarded and the pipeline continues.


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




More information about the Gstreamer-bugs mailing list