diff options
author | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2023-10-25 15:26:19 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-11-10 17:02:27 +0300 |
commit | 352d9476557ebba4667ef415ba5eb0c31ff993ba (patch) | |
tree | f00c4184cf1bbf431090fd7f1246c01a9c1625f6 | |
parent | 559825a551a46c41f687a888cfb394e5a10230af (diff) |
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/1388>
-rw-r--r-- | utils/livesync/src/livesync/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/livesync/src/livesync/imp.rs b/utils/livesync/src/livesync/imp.rs index 3a2614618..a6b9f9ebe 100644 --- a/utils/livesync/src/livesync/imp.rs +++ b/utils/livesync/src/livesync/imp.rs @@ -1022,8 +1022,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); |