# HG changeset patch # User reimar # Date 1251399062 0 # Node ID 53a2b67e6290b0e04ce9ddbe16ce527d2c8fdf1e # Parent 41ac62d6f913c16cf22a96f7fe2585dcfb3f194e Remove panscan related conditions and code that only breaks future windowed aspect and panscan without any real benefit. diff -r 41ac62d6f913 -r 53a2b67e6290 libvo/vo_xv.c --- a/libvo/vo_xv.c Thu Aug 27 18:42:08 2009 +0000 +++ b/libvo/vo_xv.c Thu Aug 27 18:51:02 2009 +0000 @@ -748,26 +748,12 @@ case VOCTRL_GUISUPPORT: return VO_TRUE; case VOCTRL_GET_PANSCAN: - if (!vo_config_count || !vo_fs) - return VO_FALSE; return VO_TRUE; case VOCTRL_FULLSCREEN: vo_x11_fullscreen(); /* 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)) - { - int old_y = vo_panscan_y; - - panscan_calc(); - - if (old_y != vo_panscan_y) - { resize(); - flip_page(); - } - } return VO_TRUE; case VOCTRL_SET_EQUALIZER: {