From 26fb4f06af1c8b519eec2d8094b11be9493264e6 Mon Sep 17 00:00:00 2001 From: henry Date: Wed, 13 Apr 2005 19:38:44 +0000 Subject: [PATCH] messed ordering of switch branches, 10l for Ivan git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15152 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xvmc.c | 7 +++---- 1 file 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;