diff options
author | vayne <vayne@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-08 16:51:11 +0000 |
---|---|---|
committer | vayne <vayne@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-08 16:51:11 +0000 |
commit | a0b3f86c4d0c25cd6265f2820f35c0a088e5cc15 (patch) | |
tree | 6da2632d987f44e6cde81923854d5337b747a86c | |
parent | f73c2ed71207a3dd935e4cb3ee108c7a2c33efd5 (diff) |
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
-rw-r--r-- | Gui/win32/interface.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Gui/win32/interface.c b/Gui/win32/interface.c index 02b944301a..6d425340b5 100644 --- a/Gui/win32/interface.c +++ b/Gui/win32/interface.c @@ -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); |