gst/qtdemux/qtdemux.c: Fix warning (#161191).
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Sun, 9 Jan 2005 20:51:18 +0000 (20:51 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Sun, 9 Jan 2005 20:51:18 +0000 (20:51 +0000)
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event):
Fix warning (#161191).

ChangeLog
gst/qtdemux/qtdemux.c

index 3c06041..a0ee9b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
+
+       * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event):
+         Fix warning (#161191).
+
 2005-01-09  Stephane LOEUILLET  <stephane.loeuillet@tiscali.fr>
 
        * ext/dvdread/stream_labels.c:
index 7412650..bd1254a 100644 (file)
@@ -500,9 +500,8 @@ gst_qtdemux_handle_sink_event (GstQTDemux * qtdemux)
       //gst_bytestream_flush_fast(qtdemux->bs, remaining);
       break;
     default:
-      res = FALSE;
-      g_warning ("unhandled event %d", type);
-      break;
+      gst_pad_event_default (qtdemux->sinkpad, event);
+      return TRUE;
   }
 
   gst_event_unref (event);