[0.11] gst-plugins-good: flv: use default pad query
Wim Taymans
wtay at kemper.freedesktop.org
Fri Feb 10 01:08:56 PST 2012
Module: gst-plugins-good
Branch: 0.11
Commit: 8eca20ead0cf8ce170de394f342726d28c593677
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=8eca20ead0cf8ce170de394f342726d28c593677
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date: Fri Feb 10 10:07:34 2012 +0100
flv: use default pad query
We need to chain up unknown queries to the default query handler instead of
blindly forwarding them. In this case it caused the caps query to be forwarded
to the upstream typefind and return the wrong type for the audio/video pad.
---
gst/flv/gstflvdemux.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c
index ea3f355..3d0ebf0 100644
--- a/gst/flv/gstflvdemux.c
+++ b/gst/flv/gstflvdemux.c
@@ -3064,7 +3064,7 @@ gst_flv_demux_query (GstPad * pad, GstObject * parent, GstQuery * query)
}
case GST_QUERY_LATENCY:
default:
- res = gst_pad_peer_query (demux->sinkpad, query);
+ res = gst_pad_query_default (pad, parent, query);
break;
}
More information about the gstreamer-commits
mailing list