mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-14 22:31:17 +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/1161>
This commit is contained in:
parent
c2d6273786
commit
f56f40a943
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