[Mplayer-cvslog] CVS: main/libvo video_out.h, 1.57, 1.58 vo_directx.c, 1.34, 1.35

Joey Parrish CVS syncmail at mplayerhq.hu
Sun Aug 22 21:01:59 CEST 2004


CVS change done by Joey Parrish CVS

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

Modified Files:
	video_out.h vo_directx.c 
Log Message:
added runtime toggle of root window playback
only directx supports this at the moment


Index: video_out.h
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/video_out.h,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- video_out.h	29 Jul 2004 14:59:20 -0000	1.57
+++ video_out.h	22 Aug 2004 19:01:56 -0000	1.58
@@ -56,6 +56,7 @@
 #define VOCTRL_START_SLICE 21
 
 #define VOCTRL_ONTOP 25
+#define VOCTRL_ROOTWIN 26
 
 // Vo can be used by xover
 #define VOCTRL_XOVERLAY_SUPPORT 22

Index: vo_directx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_directx.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- vo_directx.c	22 Aug 2004 18:57:45 -0000	1.34
+++ vo_directx.c	22 Aug 2004 19:01:56 -0000	1.35
@@ -1260,6 +1260,18 @@
 				Directx_ManageDisplay();
 			}
 		return VO_TRUE;
+    case VOCTRL_ROOTWIN:
+	        if(vidmode)
+			{
+				mp_msg(MSGT_VO, MSGL_ERR,"<vo_directx><ERROR>rootwin has no meaning in exclusive mode\n");
+			}
+	        else
+			{
+				if(vo_rootwin) vo_rootwin = 0;
+				else vo_rootwin = 1;
+				Directx_ManageDisplay();
+			}
+		return VO_TRUE;
     case VOCTRL_FULLSCREEN:
 		{
 	        if(vidmode)




More information about the MPlayer-cvslog mailing list