summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-09 03:49:32 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-09 03:49:32 +0000
commitd1ba6a710eaaab84077cd19150ce8955a0d5cf2b (patch)
tree380d6776b8f4dada2dc33c9cd8d57018db73df65 /libvo
parent23fb86c8d85e25362d4748bd109aeae54b0258d0 (diff)
downloadmpv-d1ba6a710eaaab84077cd19150ce8955a0d5cf2b.tar.bz2
mpv-d1ba6a710eaaab84077cd19150ce8955a0d5cf2b.tar.xz
Enable ontop command from mplayer to be sent to mplayer osx.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24993 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 3f953bfad7..a2f335adf0 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -323,7 +323,7 @@ static int control(uint32_t request, void *data, ...)
case VOCTRL_PAUSE: return (int_pause=1);
case VOCTRL_RESUME: return (int_pause=0);
case VOCTRL_QUERY_FORMAT: return query_format(*((uint32_t*)data));
- case VOCTRL_ONTOP: vo_ontop = (!(vo_ontop)); [mpGLView ontop]; return VO_TRUE;
+ case VOCTRL_ONTOP: vo_ontop = (!(vo_ontop)); if(!shared_buffer){ [mpGLView ontop]; } else { [mplayerosxProxy ontop]; } return VO_TRUE;
case VOCTRL_ROOTWIN: vo_rootwin = (!(vo_rootwin)); [mpGLView rootwin]; 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;