Update for gst::ClockId changes

This commit is contained in:
Sebastian Dröge 2020-10-10 13:53:28 +03:00
parent 6dc71affca
commit 1e661e6d5b
3 changed files with 5 additions and 5 deletions

View file

@ -129,7 +129,7 @@ impl Default for State {
}
struct ClockWait {
clock_id: Option<gst::ClockId>,
clock_id: Option<gst::SingleShotClockId>,
flushing: bool,
}

View file

@ -807,7 +807,7 @@ To prevent this, all waiting/blocking in GStreamer streaming threads should be i
```rust
struct ClockWait {
clock_id: Option<gst::ClockId>,
clock_id: Option<gst::SingleShotClockId>,
flushing: bool,
}

View file

@ -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<gst::ClockId>,
source_restart_timeout: Option<gst::SingleShotClockId>,
// For restarting the source after shutting it down
source_pending_restart_timeout: Option<gst::ClockId>,
source_pending_restart_timeout: Option<gst::SingleShotClockId>,
// For failing completely if we didn't recover after the retry timeout
source_retry_timeout: Option<gst::ClockId>,
source_retry_timeout: Option<gst::SingleShotClockId>,
// All our output streams, selected by properties
video_stream: Option<Stream>,