From 4123b5d1a1da13f7d4d176904c5267df9997b738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 8 Jul 2024 09:59:06 +0300 Subject: [PATCH] mpegtslive: Update for `gst::Clock::set_calibration()` API changes Part-of: --- net/mpegtslive/src/mpegtslive/imp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/mpegtslive/src/mpegtslive/imp.rs b/net/mpegtslive/src/mpegtslive/imp.rs index eeec908f..b9063e14 100644 --- a/net/mpegtslive/src/mpegtslive/imp.rs +++ b/net/mpegtslive/src/mpegtslive/imp.rs @@ -556,8 +556,8 @@ impl ElementImpl for MpegTsLiveSource { state.external_clock.set_calibration( gst::ClockTime::from_nseconds(0), gst::ClockTime::from_nseconds(0), - gst::ClockTime::from_nseconds(1), - gst::ClockTime::from_nseconds(1), + 1, + 1, ); // Hack to flush out observations, we set the window-size to the // same value