mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 03:21:00 +00:00
fallbackswitch: Set end running time as current running time once a buffer has passed
This commit is contained in:
parent
4aa00c9eca
commit
279dd7d053
1 changed files with 3 additions and 0 deletions
|
@ -754,6 +754,9 @@ impl FallbackSwitch {
|
|||
}
|
||||
|
||||
let mut pad_state = pad_imp.state.lock();
|
||||
if let Some(running_time) = end_running_time {
|
||||
pad_state.current_running_time = Some(running_time);
|
||||
}
|
||||
pad_state.is_healthy = pad_state.is_healthy(&state, &settings);
|
||||
drop(pad_state);
|
||||
|
||||
|
|
Loading…
Reference in a new issue