[MPlayer-cvslog] r38207 - trunk/libvo/osx_objc_common.m

reimar subversion at mplayerhq.hu
Tue Dec 29 07:31:02 EET 2020


Author: reimar
Date: Tue Dec 29 07:31:02 2020
New Revision: 38207

Log:
osx_objc_common: Fix selector so fullscreen works.

Modified:
   trunk/libvo/osx_objc_common.m

Modified: trunk/libvo/osx_objc_common.m
==============================================================================
--- trunk/libvo/osx_objc_common.m	Tue Dec 29 07:11:20 2020	(r38206)
+++ trunk/libvo/osx_objc_common.m	Tue Dec 29 07:31:02 2020	(r38207)
@@ -409,7 +409,7 @@ void vo_osx_swap_buffers(void)
 	//go fullscreen
 	if(vo_fs)
 	{
-		if ([window respondsToSelector:@selector(enterFullScreenMode)]) {
+		if ([window respondsToSelector:@selector(enterFullScreenMode:)]) {
 		[window enterFullScreenMode:[self fullscreen_screen]];
 		}
 		if(!vo_rootwin)
@@ -434,7 +434,7 @@ void vo_osx_swap_buffers(void)
 	}
 	else
 	{
-		if ([window respondsToSelector:@selector(exitFullScreenMode)]) {
+		if ([window respondsToSelector:@selector(exitFullScreenMode:)]) {
 		[window exitFullScreenMode:[self fullscreen_screen]];
 		}
 		SetSystemUIMode( kUIModeNormal, 0);


More information about the MPlayer-cvslog mailing list