projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
207f520
)
flv: use default pad query
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 10 Feb 2012 09:07:34 +0000
(10:07 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 10 Feb 2012 09:07:34 +0000
(10:07 +0100)
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
patch
|
blob
|
history
diff --git
a/gst/flv/gstflvdemux.c
b/gst/flv/gstflvdemux.c
index
ea3f355
..
3d0ebf0
100644
(file)
--- 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;
}