[MPlayer-cvslog] r24718 - trunk/libvo/vo_macosx.m
nplourde
subversion at mplayerhq.hu
Sun Oct 7 14:15:24 CEST 2007
Author: nplourde
Date: Sun Oct 7 14:15:24 2007
New Revision: 24718
Log:
enable fullscreen command from mplayer to be sent to mplayer osx
Modified:
trunk/libvo/vo_macosx.m
Modified: trunk/libvo/vo_macosx.m
==============================================================================
--- trunk/libvo/vo_macosx.m (original)
+++ trunk/libvo/vo_macosx.m Sun Oct 7 14:15:24 2007
@@ -324,7 +324,7 @@ static int control(uint32_t request, voi
case VOCTRL_QUERY_FORMAT: return query_format(*((uint32_t*)data));
case VOCTRL_ONTOP: vo_ontop = (!(vo_ontop)); [mpGLView ontop]; return VO_TRUE;
case VOCTRL_ROOTWIN: vo_rootwin = (!(vo_rootwin)); [mpGLView rootwin]; return VO_TRUE;
- case VOCTRL_FULLSCREEN: vo_fs = (!(vo_fs)); [mpGLView fullscreen: NO]; return VO_TRUE;
+ case VOCTRL_FULLSCREEN: vo_fs = (!(vo_fs)); if(!shared_buffer){ [mpGLView fullscreen: NO]; } else { [mplayerosxProxy toggleFullscreen]; } return VO_TRUE;
case VOCTRL_GET_PANSCAN: return VO_TRUE;
case VOCTRL_SET_PANSCAN: [mpGLView panscan]; return VO_TRUE;
}
More information about the MPlayer-cvslog
mailing list