diff options
author | joey <joey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-22 19:01:56 +0000 |
---|---|---|
committer | joey <joey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-22 19:01:56 +0000 |
commit | 896b8f4c2f2ff8793265855017511ccd1ccf6380 (patch) | |
tree | 971bd16e950ff986105bc04d48b98e2fe1341e05 /libvo/vo_directx.c | |
parent | 66dd2d906d3cf5aa3be03dce27c8f36894fb233c (diff) | |
download | mpv-896b8f4c2f2ff8793265855017511ccd1ccf6380.tar.bz2 mpv-896b8f4c2f2ff8793265855017511ccd1ccf6380.tar.xz |
added runtime toggle of root window playback
only directx supports this at the moment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13092 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_directx.c')
-rw-r--r-- | libvo/vo_directx.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index d128a5def5..8231f260bd 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -1260,6 +1260,18 @@ static uint32_t control(uint32_t request, void *data, ...) Directx_ManageDisplay(); } return VO_TRUE; + case VOCTRL_ROOTWIN: + if(vidmode) + { + mp_msg(MSGT_VO, MSGL_ERR,"<vo_directx><ERROR>rootwin has no meaning in exclusive mode\n"); + } + else + { + if(vo_rootwin) vo_rootwin = 0; + else vo_rootwin = 1; + Directx_ManageDisplay(); + } + return VO_TRUE; case VOCTRL_FULLSCREEN: { if(vidmode) |