mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
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:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user