mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-24 02:50:34 +00:00
fallbackswitch: Reset fallback pad state on remove.
This commit is contained in:
parent
f57ce41e89
commit
b80a607737
1 changed files with 2 additions and 0 deletions
|
@ -888,6 +888,8 @@ impl ElementImpl for FallbackSwitch {
|
|||
element.remove_pad(pad).unwrap();
|
||||
gst_debug!(CAT, obj: element, "Removed fallback sinkpad {:?}", pad);
|
||||
}
|
||||
*self.fallback_state.write().unwrap() = PadInputState::default();
|
||||
*self.active_sinkpad.lock().unwrap() = None;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue