summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-13 19:38:44 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-13 19:38:44 +0000
commit26fb4f06af1c8b519eec2d8094b11be9493264e6 (patch)
tree6b66a59a597dbc85612ceb11c9db381a2e73168a /libvo
parent7b1bd09dbc64471bf84eb7fcaaf32ba637a82fe2 (diff)
downloadmpv-26fb4f06af1c8b519eec2d8094b11be9493264e6.tar.bz2
mpv-26fb4f06af1c8b519eec2d8094b11be9493264e6.tar.xz
messed ordering of switch branches, 10l for Ivan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15152 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xvmc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c
index 492b0d133f..11c09a9a81 100644
--- a/libvo/vo_xvmc.c
+++ b/libvo/vo_xvmc.c
@@ -1365,9 +1365,6 @@ static uint32_t control(uint32_t request, void *data, ... )
return VO_TRUE;
case VOCTRL_FULLSCREEN:
vo_x11_fullscreen();
- case VOCTRL_GET_PANSCAN:
- if ( !vo_config_count || !vo_fs ) return VO_FALSE;
- return VO_TRUE;
// indended, fallthrough to update panscan on fullscreen/windowed switch
case VOCTRL_SET_PANSCAN:
if ( ( vo_fs && ( vo_panscan != vo_panscan_amount ) ) || ( !vo_fs && vo_panscan_amount ) )
@@ -1382,7 +1379,9 @@ static uint32_t control(uint32_t request, void *data, ... )
}
}
return VO_TRUE;
-
+ case VOCTRL_GET_PANSCAN:
+ if ( !vo_config_count || !vo_fs ) return VO_FALSE;
+ return VO_TRUE;
case VOCTRL_SET_EQUALIZER:
{
va_list ap;