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:
Diffstat (limited to 'utils/livesync/src/livesync/imp.rs')
-rw-r--r--utils/livesync/src/livesync/imp.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/livesync/src/livesync/imp.rs b/utils/livesync/src/livesync/imp.rs
index 5434defd3..ba38a7536 100644
--- a/utils/livesync/src/livesync/imp.rs
+++ b/utils/livesync/src/livesync/imp.rs
@@ -1020,7 +1020,9 @@ impl LiveSync {
);
let (res, jitter) = MutexGuard::unlocked(&mut state, || clock_id.wait());
- gst::trace!(CAT, imp: self, "Clock returned {res:?} {jitter}",);
+ gst::trace!(CAT, imp: self, "Clock returned {res:?} {}{}",
+ if jitter.is_negative() {"-"} else {""},
+ gst::ClockTime::from_nseconds(jitter.unsigned_abs()));
if res == Err(gst::ClockError::Unscheduled) {
return Err(gst::FlowError::Flushing);