Skip to content
Snippets Groups Projects
Commit a850ce3c authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix the volume reset to 0 after each playback

Fixes #2093
parent eca904f8
No related branches found
No related tags found
1 merge request!1027Multiple beta fixes
......@@ -101,7 +101,7 @@ class PlayerController(val context: Context) : IVLCVout.Callback, MediaPlayer.Ev
val mp = mediaplayer
val volume = mp.volume
mediaplayer = newMediaPlayer()
if (volume != 100) {
if (volume > 100) {
mediaplayer.volume = volume
}
release(mp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment