mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-15 14:52:04 +00:00
livesync: display jitter when waiting on clock
We already log the result of the clock wait call so may as well log the returned jitter. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1387>
This commit is contained in:
parent
4f9d5b7a79
commit
dafdb48ff6
1 changed files with 2 additions and 2 deletions
|
@ -1028,8 +1028,8 @@ impl LiveSync {
|
|||
clock_id.time(),
|
||||
);
|
||||
|
||||
let (res, _) = MutexGuard::unlocked(&mut state, || clock_id.wait());
|
||||
gst::trace!(CAT, imp: self, "Clock returned {res:?}",);
|
||||
let (res, jitter) = MutexGuard::unlocked(&mut state, || clock_id.wait());
|
||||
gst::trace!(CAT, imp: self, "Clock returned {res:?} {jitter}",);
|
||||
|
||||
if res == Err(gst::ClockError::Unscheduled) {
|
||||
return Err(gst::FlowError::Flushing);
|
||||
|
|
Loading…
Reference in a new issue