[MPlayer-cvslog] CVS: main/libvo vo_directx.c,1.63,1.64

Sascha Sommer CVS syncmail at mplayerhq.hu
Wed Mar 15 10:04:27 CET 2006


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv6647/libvo

Modified Files:
	vo_directx.c 
Log Message:
10l the cpu hog fix broke fullscreenswitching with -wid

Index: vo_directx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_directx.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- vo_directx.c	13 Mar 2006 16:52:01 -0000	1.63
+++ vo_directx.c	15 Mar 2006 09:04:24 -0000	1.64
@@ -1519,6 +1519,7 @@
 					ShowWindow(hWnd,SW_HIDE);
 					ShowWindow(hWnd,SW_SHOW);
 				}
+				last_rect.left = 0xDEADC0DE;   // reset window position cache
 				Directx_ManageDisplay();
 			}
 		return VO_TRUE;
@@ -1532,6 +1533,7 @@
 			{
 				if(vo_ontop) vo_ontop = 0;
 				else vo_ontop = 1;
+				last_rect.left = 0xDEADC0DE;   // reset window position cache
 				Directx_ManageDisplay();
 			}
 		return VO_TRUE;
@@ -1545,6 +1547,7 @@
 			{
 				if(vo_rootwin) vo_rootwin = 0;
 				else vo_rootwin = 1;
+				last_rect.left = 0xDEADC0DE;   // reset window position cache
 				Directx_ManageDisplay();
 			}
 		return VO_TRUE;
@@ -1569,6 +1572,7 @@
 					ShowWindow(hWndFS,SW_HIDE);
 					ShowWindow(hWnd,SW_SHOW);
 				}  
+	      			last_rect.left = 0xDEADC0DE;   // reset window position cache
 				Directx_ManageDisplay();
                 break;				
 			}




More information about the MPlayer-cvslog mailing list