[MPlayer-dev-eng] [PATCH] AudioOnly in gui/win32

Stephen Sheldon sfsheldo at gmail.com
Tue Jun 28 17:55:19 CEST 2011


AudioOnly was removed from guiInterface_t in gui/interface.h, so 
gui/win32/interface.c needs to change.

Here is a patch:

Index: gui/win32/interface.c
===================================================================
--- gui/win32/interface.c	(revision 33755)
+++ gui/win32/interface.c	(working copy)
@@ -855,13 +855,11 @@
             ShowWindow(mygui->subwindow, SW_HIDE);
             return 0;
         }
-        else if(guiInfo.AudioOnly)
-            return 0;
         else ShowWindow(mygui->subwindow, SW_SHOW);
     }
 
     /* we've come out of fullscreen at the end of file */
-    if((!IsWindowVisible(mygui->subwindow) || IsIconic(mygui->subwindow)) &&
!guiInfo.AudioOnly)
+    if(!IsWindowVisible(mygui->subwindow) || IsIconic(mygui->subwindow))
         ShowWindow(mygui->subwindow, SW_SHOWNORMAL);
 
     /* get our current window coordinates */




More information about the MPlayer-dev-eng mailing list