diff --git a/utils/fallbackswitch/src/fallbacksrc/imp.rs b/utils/fallbackswitch/src/fallbacksrc/imp.rs index b4e68190..88e76012 100644 --- a/utils/fallbackswitch/src/fallbacksrc/imp.rs +++ b/utils/fallbackswitch/src/fallbacksrc/imp.rs @@ -2108,6 +2108,9 @@ impl FallbackSrc { } drop(state_guard); + gst_debug!(CAT, obj: element, "Flushing source"); + let _ = source.send_event(gst::event::FlushStart::builder().build()); + gst_debug!(CAT, obj: element, "Shutting down source"); let _ = source.set_state(gst::State::Null);