From 00be5791fe89f3ef26d89680f1e0e583a53c12d1 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 25 Apr 2008 08:07:36 +0000 Subject: [PATCH] [MOVED FROM BAD 20/57] 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. --- gst/flv/gstflvdemux.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index 0d8d087..045b345 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: -- 2.7.4