From af19b9121617cb5be2abf3ac4c3b035343c72da0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 25 Apr 2008 08:07:36 +0000 Subject: [PATCH] gst/flv/gstflvdemux.c: Forward unknown queries upstream instead of returning FALSE on them. Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_query): Forward unknown queries upstream instead of returning FALSE on them. --- ChangeLog | 5 +++++ gst/flv/gstflvdemux.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7dbfdb1774..315866bf2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-25 Wim Taymans + + * gst/flv/gstflvdemux.c: (gst_flv_demux_query): + Forward unknown queries upstream instead of returning FALSE on them. + 2008-04-25 Sebastian Dröge * configure.ac: diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index 0d8d087ccd..045b3450fd 100644 --- a/gst/flv/gstflvdemux.c +++ b/gst/flv/gstflvdemux.c @@ -979,6 +979,7 @@ gst_flv_demux_query (GstPad * pad, GstQuery * query) break; } case GST_QUERY_LATENCY: + default: { GstPad *peer; @@ -992,9 +993,6 @@ gst_flv_demux_query (GstPad * pad, GstQuery * query) } break; } - default: - res = FALSE; - break; } beach: