summaryrefslogtreecommitdiffstats
path: root/gst/flv/gstflvdemux.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-04-25 08:07:36 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-04-25 08:07:36 +0000
commitaf19b9121617cb5be2abf3ac4c3b035343c72da0 (patch)
treeff39720a3571620ba29a0daf39f3e995b27e7127 /gst/flv/gstflvdemux.c
parent01bcb096c75d8f4264390b8afb6f307ca97e23f0 (diff)
downloadgst-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.
Diffstat (limited to 'gst/flv/gstflvdemux.c')
-rw-r--r--gst/flv/gstflvdemux.c4
1 files changed, 1 insertions, 3 deletions
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: