summaryrefslogtreecommitdiffstats
path: root/gst
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 /gst
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).
Diffstat (limited to 'gst')
-rw-r--r--gst/qtdemux/qtdemux.c5
1 files changed, 2 insertions, 3 deletions
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);