Mercurial > mplayer.hg
changeset 36953:63449be2a903
Set guiInfo.AudioChannels in Win32 GUI.
It hasn't been set by the Win32 GUI so far.
author | ib |
---|---|
date | Sun, 23 Mar 2014 12:34:31 +0000 |
parents | 60361776b592 |
children | 44dcc6c54014 |
files | gui/win32/interface.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/win32/interface.c Sun Mar 23 12:31:50 2014 +0000 +++ b/gui/win32/interface.c Sun Mar 23 12:34:31 2014 +0000 @@ -623,6 +623,7 @@ case GUI_SET_AUDIO: { sh_audio = data; + guiInfo.AudioChannels = sh_audio ? sh_audio->channels : 0; if (sh_audio && !guiInfo.sh_video) guiInfo.VideoWindow = FALSE; if(IsWindowVisible(mygui->videowindow) && !guiInfo.VideoWindow) ShowWindow(mygui->videowindow, SW_HIDE);