summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-07 12:15:24 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-07 12:15:24 +0000
commitb0cfe55f121e07a57e368ae97213d3a0b70bb80b (patch)
tree0d86993b8dadaec0532173695e34a23c83fb59c6 /libvo
parentbc41cde0b7d62fa4bb30513c66c68ae2bc7229c4 (diff)
downloadmpv-b0cfe55f121e07a57e368ae97213d3a0b70bb80b.tar.bz2
mpv-b0cfe55f121e07a57e368ae97213d3a0b70bb80b.tar.xz
enable fullscreen command from mplayer to be sent to mplayer osx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24718 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_macosx.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m
index 2b1cddba6d..7290ea4374 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -324,7 +324,7 @@ static int control(uint32_t request, void *data, ...)
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;
}