[gstreamer-bugs] [Bug 476514] Wavparse eos handling fails in push-based mode

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Sep 14 02:56:37 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=476514

  GStreamer | gst-plugins-good | Ver: HEAD CVS




------- Comment #12 from Sebastian Dröge  2007-09-14 09:56 UTC -------
Yep, adding the hack below to gstqueue.c makes the above pipeline work. Would
be nice if someone with deeper knowledge about queue could look into this.



Index: plugins/elements/gstqueue.c
===================================================================
RCS file: /cvs/gstreamer/gstreamer/plugins/elements/gstqueue.c,v
retrieving revision 1.199
diff -u -p -a -u -p -r1.199 gstqueue.c
--- plugins/elements/gstqueue.c 13 Sep 2007 17:15:38 -0000      1.199
+++ plugins/elements/gstqueue.c 14 Sep 2007 09:55:56 -0000
@@ -758,6 +758,9 @@ gst_queue_handle_sink_event (GstPad * pa
       STATUS (queue, pad, "after flush");
       goto done;
     }
+    case GST_EVENT_EOS:
+       gst_pad_push_event (queue->srcpad, event);
+       goto done;
     default:
       if (GST_EVENT_IS_SERIALIZED (event)) {
         /* serialized events go in the queue */


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




More information about the Gstreamer-bugs mailing list