messed ordering of switch branches, 10l for Ivan

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15152 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2005-04-13 19:38:44 +00:00
parent 7b1bd09dbc
commit 26fb4f06af
1 changed files with 3 additions and 4 deletions

View File

@ -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;