Mercurial > mplayer.hg
changeset 29526:53a2b67e6290
Remove panscan related conditions and code that only breaks future windowed
aspect and panscan without any real benefit.
author | reimar |
---|---|
date | Thu, 27 Aug 2009 18:51:02 +0000 |
parents | 41ac62d6f913 |
children | 9ea49bcf3abc |
files | libvo/vo_xv.c |
diffstat | 1 files changed, 0 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- 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: {