[MPlayer-cvslog] r35175 - trunk/libvo/vo_corevideo.m
reimar
subversion at mplayerhq.hu
Thu Sep 13 20:32:32 CEST 2012
Author: reimar
Date: Thu Sep 13 20:32:32 2012
New Revision: 35175
Log:
Set up things like fullscreen status etc. before showing the window.
Modified:
trunk/libvo/vo_corevideo.m
Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m Thu Sep 13 20:30:12 2012 (r35174)
+++ trunk/libvo/vo_corevideo.m Thu Sep 13 20:32:32 2012 (r35175)
@@ -555,9 +555,6 @@ static int control(uint32_t request, voi
if(error != kCVReturnSuccess)
mp_msg(MSGT_VO, MSGL_ERR,"[vo_corevideo] Failed to create OpenGL texture(%d)\n", error);
- //show window
- [window makeKeyAndOrderFront:self];
-
vo_fs = flags & VOFLAG_FULLSCREEN;
if(vo_rootwin)
@@ -568,6 +565,9 @@ static int control(uint32_t request, voi
if(vo_ontop)
[self ontop];
+
+ //show window
+ [window makeKeyAndOrderFront:self];
}
/*
More information about the MPlayer-cvslog
mailing list