[MPlayer-cvslog] r30042 - in trunk: DOCS/man/en/mplayer.1 libvo/vo_corevideo.m

adrian subversion at mplayerhq.hu
Tue Dec 15 21:25:50 CET 2009


Author: adrian
Date: Tue Dec 15 21:25:50 2009
New Revision: 30042

Log:
Add -xineramascreen support to corevideo vo. Still prefer corevideo's own device_id parameter if it's set.

Modified:
   trunk/libvo/vo_corevideo.m

Changes in other areas also in this revision:
Modified:
   trunk/DOCS/man/en/mplayer.1

Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m	Tue Dec 15 03:13:51 2009	(r30041)
+++ trunk/libvo/vo_corevideo.m	Tue Dec 15 21:25:50 2009	(r30042)
@@ -115,6 +115,9 @@ static void draw_alpha(int x0, int y0, i
 
 static void update_screen_info(void)
 {
+	if (screen_id == -1 && xinerama_screen > -1)
+		screen_id = xinerama_screen;
+
 	screen_array = [NSScreen screens];
 	if(screen_id < (int)[screen_array count])
 	{


More information about the MPlayer-cvslog mailing list