From 73fdfd32983486b1e591e28dc263ec1570a07e68 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 9 Jan 2005 20:51:18 +0000 Subject: [PATCH] gst/qtdemux/qtdemux.c: Fix warning (#161191). Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event): Fix warning (#161191). --- ChangeLog | 5 +++++ gst/qtdemux/qtdemux.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3c06041de8..a0ee9b861c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-09 Ronald S. Bultje + + * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event): + Fix warning (#161191). + 2005-01-09 Stephane LOEUILLET * ext/dvdread/stream_labels.c: diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 7412650fd1..bd1254ac22 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);