mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-12 10:55:16 +00:00
Update for gst::ClockId changes
This commit is contained in:
parent
6dc71affca
commit
1e661e6d5b
3 changed files with 5 additions and 5 deletions
|
@ -129,7 +129,7 @@ impl Default for State {
|
||||||
}
|
}
|
||||||
|
|
||||||
struct ClockWait {
|
struct ClockWait {
|
||||||
clock_id: Option<gst::ClockId>,
|
clock_id: Option<gst::SingleShotClockId>,
|
||||||
flushing: bool,
|
flushing: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -807,7 +807,7 @@ To prevent this, all waiting/blocking in GStreamer streaming threads should be i
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
struct ClockWait {
|
struct ClockWait {
|
||||||
clock_id: Option<gst::ClockId>,
|
clock_id: Option<gst::SingleShotClockId>,
|
||||||
flushing: bool,
|
flushing: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -116,11 +116,11 @@ struct State {
|
||||||
source_pending_restart: bool,
|
source_pending_restart: bool,
|
||||||
|
|
||||||
// For timing out the source and shutting it down to restart it
|
// 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
|
// 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
|
// 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
|
// All our output streams, selected by properties
|
||||||
video_stream: Option<Stream>,
|
video_stream: Option<Stream>,
|
||||||
|
|
Loading…
Reference in a new issue