# HG changeset patch # User nplourde # Date 1191759324 0 # Node ID 6f56399be56c1d4768c329eb95b3fcb673680ffb # Parent 8f2154e066cf6bfbf9c60d5fbad5dc4770b739f2 enable fullscreen command from mplayer to be sent to mplayer osx diff -r 8f2154e066cf -r 6f56399be56c libvo/vo_macosx.m --- a/libvo/vo_macosx.m Sun Oct 07 08:41:31 2007 +0000 +++ b/libvo/vo_macosx.m Sun Oct 07 12:15:24 2007 +0000 @@ -324,7 +324,7 @@ 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; }