ext/dv/gstdvdemux.c: Restore previous behaviour of not passing QoS and navigation...
authorTim-Philipp Müller <tim@centricular.net>
Tue, 9 Dec 2008 10:28:11 +0000 (10:28 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 9 Dec 2008 10:28:11 +0000 (10:28 +0000)
Original commit message from CVS:
* ext/dv/gstdvdemux.c: (gst_dvdemux_handle_src_event):
Restore previous behaviour of not passing QoS and navigation
events upstream, which presumably wasn't meant to be changed.

ChangeLog
ext/dv/gstdvdemux.c

index fc93ecd..d94a138 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
+
+       * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_src_event):
+         Restore previous behaviour of not passing QoS and navigation
+         events upstream, which presumably wasn't meant to be changed.
+
 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
 
        * ext/dv/gstdvdemux.c: (gst_dvdemux_add_video_pad),
index a12b2d6..3934011 100644 (file)
@@ -1201,9 +1201,12 @@ gst_dvdemux_handle_src_event (GstPad * pad, GstEvent * event)
       break;
     case GST_EVENT_QOS:
       /* we can't really (yet) do QoS */
+      res = FALSE;
+      break;
     case GST_EVENT_NAVIGATION:
       /* no navigation either... */
       res = FALSE;
+      break;
     default:
       res = gst_pad_push_event (dvdemux->sinkpad, event);
       event = NULL;