feat: use ffmpeg as stream backend and oto for sound output, GUI improvements #1

Merged
resetreboot merged 4 commits from ffplay_test into master 2023-12-06 16:36:33 +01:00
Showing only changes of commit 822094de4c - Show all commits

View file

@ -228,6 +228,7 @@ func (player *StreamPlayer) Mute() {
if player.IsPlaying() {
if player.otoPlayer.Volume() > 0 {
player.currentVolume = player.otoPlayer.Volume()
player.otoPlayer.SetVolume(0.0)
} else {
player.otoPlayer.SetVolume(player.currentVolume)
}