[MPlayer-cvslog] r37049 - trunk/gui/win32/interface.c

ib subversion at mplayerhq.hu
Sun Mar 23 13:34:31 CET 2014


Author: ib
Date: Sun Mar 23 13:34:31 2014
New Revision: 37049

Log:
Set guiInfo.AudioChannels in Win32 GUI.

It hasn't been set by the Win32 GUI so far.

Modified:
   trunk/gui/win32/interface.c

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	Sun Mar 23 13:31:50 2014	(r37048)
+++ trunk/gui/win32/interface.c	Sun Mar 23 13:34:31 2014	(r37049)
@@ -623,6 +623,7 @@ int gui(int what, void *data)
         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);


More information about the MPlayer-cvslog mailing list