summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-01-09 20:51:18 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-01-09 20:51:18 +0000
commitd1ba429d91748fcb4b6cd35d83e3bf260fe7ae31 (patch)
tree8139d4eb7f1348a435722a6b942a9b6505055f8b
parentab47cccf72784425651febfa7041fc3ca80888d9 (diff)
downloadgst-plugins-bad-d1ba429d91748fcb4b6cd35d83e3bf260fe7ae31.tar.gz
gst-plugins-bad-d1ba429d91748fcb4b6cd35d83e3bf260fe7ae31.tar.bz2
gst-plugins-bad-d1ba429d91748fcb4b6cd35d83e3bf260fe7ae31.zip
gst/qtdemux/qtdemux.c: Fix warning (#161191).
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event): Fix warning (#161191).
-rw-r--r--ChangeLog5
-rw-r--r--gst/qtdemux/qtdemux.c5
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c06041d..a0ee9b86 100644
--- 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:
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 7412650f..bd1254ac 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -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);