changeset 35083:b3a7f40618b9

Fix handling of -ontop and -rootwin. Once they were set it was impossible to reset them for following files with -fixed-vo.
author reimar
date Thu, 13 Sep 2012 18:44:36 +0000
parents 6d8be70115a8
children 3be1bcf3f16b
files libvo/vo_corevideo.m
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_corevideo.m	Thu Sep 13 18:42:00 2012 +0000
+++ b/libvo/vo_corevideo.m	Thu Sep 13 18:44:36 2012 +0000
@@ -551,14 +551,12 @@
 
 	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];