mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-20 02:21:00 +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 {
|
||||
clock_id: Option<gst::ClockId>,
|
||||
clock_id: Option<gst::SingleShotClockId>,
|
||||
flushing: bool,
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
|
@ -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>,
|
||||
|
|
Loading…
Reference in a new issue