Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>2023-10-25 15:26:19 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-11-10 17:02:27 +0300
commit352d9476557ebba4667ef415ba5eb0c31ff993ba (patch)
treef00c4184cf1bbf431090fd7f1246c01a9c1625f6
parent559825a551a46c41f687a888cfb394e5a10230af (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.rs4
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);