mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 02:26:35 +00:00
livesync: Actually assume zero upstream latency when query fails
The code said "assuming zero" but left latency at None instead of Some(0), failing to unwrap the value later. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1153>
This commit is contained in:
parent
15e1844956
commit
c6e1efa0fe
1 changed files with 1 additions and 0 deletions
|
@ -814,6 +814,7 @@ impl LiveSync {
|
|||
imp: self,
|
||||
"Can't query upstream latency -- assuming zero"
|
||||
);
|
||||
state.upstream_latency = Some(gst::ClockTime::ZERO);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue