diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2005-01-09 20:51:18 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2005-01-09 20:51:18 +0000 |
commit | d1ba429d91748fcb4b6cd35d83e3bf260fe7ae31 (patch) | |
tree | 8139d4eb7f1348a435722a6b942a9b6505055f8b | |
parent | ab47cccf72784425651febfa7041fc3ca80888d9 (diff) | |
download | gst-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | gst/qtdemux/qtdemux.c | 5 |
2 files changed, 7 insertions, 3 deletions
@@ -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); |