fallbackswitch: Reset timeout_clock_id on timeout
We shouldn't leave the used clock ID around. Otherwise, we might never
schedule a new timeout from an inactive pad if the active pad doesn't
get a buffer.
@@ -482,6 +482,10 @@ impl FallbackSwitch {
debug!(CAT, obj: element, "Late timeout callback. Ignoring");
return;
}
+
+ // Ensure sink_chain on an inactive pad can schedule another timeout
+ state.timeout_clock_id = None;
+
self.handle_timeout(element, &mut state, settings);
}
