changeset 15151:1edaf17d5205

messed ordering of switch branches, 10l for Ivan
author henry
date Wed, 13 Apr 2005 19:38:44 +0000
parents 38ec64821910
children 4e9072d08d91
files libvo/vo_xvmc.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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;