# HG changeset patch # User henry # Date 1113421124 0 # Node ID 1edaf17d52058d66f9e03b98a61d8cc560c78184 # Parent 38ec6482191013f0f59c568e0fe1d9c34391ed9b messed ordering of switch branches, 10l for Ivan diff -r 38ec64821910 -r 1edaf17d5205 libvo/vo_xvmc.c --- a/libvo/vo_xvmc.c Wed Apr 13 19:21:05 2005 +0000 +++ b/libvo/vo_xvmc.c Wed Apr 13 19:38:44 2005 +0000 @@ -1365,9 +1365,6 @@ 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 @@ } } 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;