[MPlayer-cvslog] CVS: main/libvo vo_directx.c,1.59,1.60

Joey Parrish CVS syncmail at mplayerhq.hu
Fri Nov 11 14:22:03 CET 2005


CVS change done by Joey Parrish CVS

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

Modified Files:
	vo_directx.c 
Log Message:
Intercept maximize event and go into fullscreen mode.


Index: vo_directx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_directx.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- vo_directx.c	10 Nov 2005 22:25:54 -0000	1.59
+++ vo_directx.c	11 Nov 2005 13:22:01 -0000	1.60
@@ -914,6 +914,9 @@
 				case SC_MONITORPOWER:
                 mp_msg(MSGT_VO, MSGL_V ,"<vo_directx><INFO>killing screensaver\n" );
                 return 0;                      
+				case SC_MAXIMIZE:
+					if (!vo_fs) control(VOCTRL_FULLSCREEN, NULL);
+                return 0;                      
 			}
 			break;
 		}




More information about the MPlayer-cvslog mailing list