mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
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.
This commit is contained in:
parent
207f520bbd
commit
8eca20ead0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue