diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-04-25 08:07:36 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-04-25 08:07:36 +0000 |
commit | af19b9121617cb5be2abf3ac4c3b035343c72da0 (patch) | |
tree | ff39720a3571620ba29a0daf39f3e995b27e7127 | |
parent | 01bcb096c75d8f4264390b8afb6f307ca97e23f0 (diff) | |
download | gst-plugins-bad-af19b9121617cb5be2abf3ac4c3b035343c72da0.tar.gz gst-plugins-bad-af19b9121617cb5be2abf3ac4c3b035343c72da0.tar.bz2 gst-plugins-bad-af19b9121617cb5be2abf3ac4c3b035343c72da0.zip |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gst/flv/gstflvdemux.c | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk> + + * gst/flv/gstflvdemux.c: (gst_flv_demux_query): + Forward unknown queries upstream instead of returning FALSE on them. + 2008-04-25 Sebastian Dröge <slomo@circular-chaos.org> * configure.ac: diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index 0d8d087c..045b3450 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: |