mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-20 14:46:24 +00:00
fallbacksrc: Ignore buffering message of restart was scheduled
In case that there is pending restart, fallbacksrc should not try to add pad probe.
This commit is contained in:
parent
46af97219c
commit
1b546bb562
1 changed files with 5 additions and 0 deletions
|
@ -1802,6 +1802,11 @@ impl FallbackSrc {
|
|||
Some(state) => state,
|
||||
};
|
||||
|
||||
if state.source_pending_restart {
|
||||
gst_debug!(CAT, obj: element, "Has pending restart");
|
||||
return;
|
||||
}
|
||||
|
||||
gst_debug!(CAT, obj: element, "Got buffering {}%", m.get_percent());
|
||||
|
||||
state.buffering_percent = m.get_percent() as u8;
|
||||
|
|
Loading…
Reference in a new issue