From 1e661e6d5b1d7eefa46f9bdcc59791b818a2abfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 10 Oct 2020 13:53:28 +0300 Subject: [PATCH] Update for gst::ClockId changes --- tutorial/src/sinesrc.rs | 2 +- tutorial/tutorial-2.md | 2 +- utils/fallbackswitch/src/fallbacksrc.rs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tutorial/src/sinesrc.rs b/tutorial/src/sinesrc.rs index ad183d41..7dbd9bb2 100644 --- a/tutorial/src/sinesrc.rs +++ b/tutorial/src/sinesrc.rs @@ -129,7 +129,7 @@ impl Default for State { } struct ClockWait { - clock_id: Option, + clock_id: Option, flushing: bool, } diff --git a/tutorial/tutorial-2.md b/tutorial/tutorial-2.md index 16566f35..7087fde9 100644 --- a/tutorial/tutorial-2.md +++ b/tutorial/tutorial-2.md @@ -807,7 +807,7 @@ To prevent this, all waiting/blocking in GStreamer streaming threads should be i ```rust struct ClockWait { - clock_id: Option, + clock_id: Option, flushing: bool, } diff --git a/utils/fallbackswitch/src/fallbacksrc.rs b/utils/fallbackswitch/src/fallbacksrc.rs index 07c9b48f..47d2880a 100644 --- a/utils/fallbackswitch/src/fallbacksrc.rs +++ b/utils/fallbackswitch/src/fallbacksrc.rs @@ -116,11 +116,11 @@ struct State { source_pending_restart: bool, // For timing out the source and shutting it down to restart it - source_restart_timeout: Option, + source_restart_timeout: Option, // For restarting the source after shutting it down - source_pending_restart_timeout: Option, + source_pending_restart_timeout: Option, // For failing completely if we didn't recover after the retry timeout - source_retry_timeout: Option, + source_retry_timeout: Option, // All our output streams, selected by properties video_stream: Option,