mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 06:30:06 +00:00
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
This commit is contained in:
parent
bc41cde0b7
commit
b0cfe55f12
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user