Fix crash on stopping

This commit is contained in:
Damontecres 2025-11-05 14:48:08 -05:00
parent 85a32d18d3
commit 5255a89126
No known key found for this signature in database
3 changed files with 110 additions and 22 deletions

View file

@ -138,7 +138,8 @@ class PlaybackViewModel
// .setEnableDecoderFallback(true)
// .setExtensionRendererMode(rendererMode),
// ).build()
MpvPlayer(context)
// TODO add settings for enabling HW decoding
MpvPlayer(context, false)
.apply {
playWhenReady = true
}