mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 18:05:21 +00:00
crash fix when clicking on volume sliders when in stop state.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18958 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f73c2ed712
commit
a0b3f86c4d
@ -239,6 +239,9 @@ static void guiSetEvent(int event)
|
||||
{
|
||||
float l,r;
|
||||
|
||||
if (guiIntfStruct.Playing == 0)
|
||||
break;
|
||||
|
||||
if (guiIntfStruct.Balance == 50.0f)
|
||||
mixer_setvolume(&mixer, guiIntfStruct.Volume, guiIntfStruct.Volume);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user