mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-02 17:53:48 +00:00
transcriberbin: Fix handling of upstream latency query
Forward latency query upstream instead of downstream.
Fix regression introduced by 4074f4c275
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2398>
This commit is contained in:
parent
f55641f5ca
commit
37a5acc788
1 changed files with 1 additions and 1 deletions
|
@ -2190,7 +2190,7 @@ impl TranscriberBin {
|
||||||
{
|
{
|
||||||
let mut upstream_query = gst::query::Latency::new();
|
let mut upstream_query = gst::query::Latency::new();
|
||||||
|
|
||||||
if pad.query(&mut upstream_query) {
|
if pad.peer_query(&mut upstream_query) {
|
||||||
let (_, upstream_min, _) = upstream_query.result();
|
let (_, upstream_min, _) = upstream_query.result();
|
||||||
|
|
||||||
if min < upstream_min {
|
if min < upstream_min {
|
||||||
|
|
Loading…
Reference in a new issue