[MPlayer-cvslog] r34222 - trunk/gui/win32/gui.c

ib subversion at mplayerhq.hu
Thu Oct 20 14:53:27 CEST 2011


Author: ib
Date: Thu Oct 20 14:53:27 2011
New Revision: 34222

Log:
Remove unused code.

After the changes in r33657 there is no longer a "MPlayer Fullscreen"
window for the directx vo driver, hence this code will never be executed.

Modified:
   trunk/gui/win32/gui.c

Modified: trunk/gui/win32/gui.c
==============================================================================
--- trunk/gui/win32/gui.c	Thu Oct 20 14:48:35 2011	(r34221)
+++ trunk/gui/win32/gui.c	Thu Oct 20 14:53:27 2011	(r34222)
@@ -287,17 +287,6 @@ static void updatedisplay(gui_t *gui, HW
     if((time - oldtime) < 100) return;
     oldtime=time;
 
-    /* suppress directx's fullscreen window when using the sub window */
-    if(sub_window && &video_driver_list[0] && strstr("directx", video_driver_list[0]))
-    {
-        HWND hWndFS = NULL; //handle to directx's fullscreen window
-        if(hWndFS == NULL)
-        {
-            hWndFS = FindWindow(NULL, "MPlayer Fullscreen");
-            if(hWndFS != NULL) DestroyWindow(hWndFS); //sub window handles fullscreen
-        }
-    }
-
     for (i=0; i<gui->window_priv_count; i++)
     {
         if(gui->window_priv[i]->hwnd == hwnd)


More information about the MPlayer-cvslog mailing list