[MPlayer-cvslog] r29568 - trunk/libvo/vo_xv.c
reimar
subversion at mplayerhq.hu
Thu Aug 27 20:51:02 CEST 2009
Author: reimar
Date: Thu Aug 27 20:51:02 2009
New Revision: 29568
Log:
Remove panscan related conditions and code that only breaks future windowed
aspect and panscan without any real benefit.
Modified:
trunk/libvo/vo_xv.c
Modified: trunk/libvo/vo_xv.c
==============================================================================
--- trunk/libvo/vo_xv.c Thu Aug 27 20:42:08 2009 (r29567)
+++ trunk/libvo/vo_xv.c Thu Aug 27 20:51:02 2009 (r29568)
@@ -748,26 +748,12 @@ static int control(uint32_t request, voi
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:
{
More information about the MPlayer-cvslog
mailing list