mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-06 06:35:53 +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
|
@ -3064,7 +3064,7 @@ gst_flv_demux_query (GstPad * pad, GstObject * parent, GstQuery * query)
|
||||||
}
|
}
|
||||||
case GST_QUERY_LATENCY:
|
case GST_QUERY_LATENCY:
|
||||||
default:
|
default:
|
||||||
res = gst_pad_peer_query (demux->sinkpad, query);
|
res = gst_pad_query_default (pad, parent, query);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue