Volume set to 0 when video ends
Description
When a video is played until the end, any following video will have no sound when volume was < 100.
Steps to reproduce
- Play any video with volume set to anything between 0 and 100
- Wait the end of the video, the app return to video grid
- Play another video (could be the same one)
- There is no sound
- any volume change will restore it on phone/tablet, on android tv the only way i found was to go to preferences to kill VLC
Debug
When video ends, PlayerController.restart() is called twice.
- if volume was < 100, in restart(), volume=100 the first time, volume=0 the second time
- if volume was > 100 (150 for instance), in restart(), vol=150 both times
Don't know if that's normal to have volume=0 the second time, or that restart is called twice
Context
App version
latest git