make it so that the video gets prepped even in background audio mode so that it's possible to switch to video mode later on

Changelog: changed
This commit is contained in:
Kai
2025-08-12 11:14:52 -04:00
parent 22fca93b7e
commit 74b6d4299a
@@ -873,7 +873,7 @@ abstract class FutoVideoPlayerBase : RelativeLayout {
@OptIn(UnstableApi::class) @OptIn(UnstableApi::class)
private fun loadSelectedSources(play: Boolean, resume: Boolean): Boolean { private fun loadSelectedSources(play: Boolean, resume: Boolean): Boolean {
val sourceVideo = if(!isAudioMode || _lastAudioMediaSource == null) _lastVideoMediaSource else null; val sourceVideo = _lastVideoMediaSource
val sourceAudio = _lastAudioMediaSource; val sourceAudio = _lastAudioMediaSource;
val sourceSubs = _lastSubtitleMediaSource; val sourceSubs = _lastSubtitleMediaSource;