fix(player): clear stale mpv fallback switch

This commit is contained in:
edde746
2026-06-14 00:27:41 +02:00
parent 656cf1158b
commit 3ad049cb28
@@ -272,9 +272,12 @@ class ExoPlayerPlugin :
return
}
// Only clear pending MPV properties when MPV is the active backend.
// When ExoPlayer is active, keep them for potential ExoPlayer→MPV fallback.
// Only clear pending MPV state when MPV is the active backend. A same-core
// MPV reload must not inherit a fallback switch that was armed for the
// previous load. When ExoPlayer is active, keep queued properties for a
// potential ExoPlayer→MPV fallback.
if (usingMpvFallback) {
clearPendingMpvFallbackSwitch()
pendingMpvProperties.clear()
}