[MPlayer-cvslog] r35177 - trunk/libvo/vo_corevideo.m

reimar subversion at mplayerhq.hu
Thu Sep 13 20:44:36 CEST 2012


Author: reimar
Date: Thu Sep 13 20:44:36 2012
New Revision: 35177

Log:
Fix handling of -ontop and -rootwin.

Once they were set it was impossible to reset them for
following files with -fixed-vo.

Modified:
   trunk/libvo/vo_corevideo.m

Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m	Thu Sep 13 20:42:00 2012	(r35176)
+++ trunk/libvo/vo_corevideo.m	Thu Sep 13 20:44:36 2012	(r35177)
@@ -551,14 +551,12 @@ static int control(uint32_t request, voi
 
 	vo_fs = flags & VOFLAG_FULLSCREEN;
 
-	if(vo_rootwin)
-		[self rootwin];
+	[self rootwin];
 
 	if(vo_fs)
 		[self fullscreen: NO];
 
-	if(vo_ontop)
-		[self ontop];
+	[self ontop];
 
 	//show window
 	[window makeKeyAndOrderFront:self];


More information about the MPlayer-cvslog mailing list