Skip to content

fallbackswitch: Recheck active_sinkpad after schedule_timeout

schedule_timeout can synchronously call handle_timeout and change the active pad. We need to update is_active afterwards.

After calling schedule_timeout with end_running_time, we used to assume there was no pad switch and reset switched_pad immediately. If the pad actually got switched, this would make us miss a sticky events update.

Merge request reports