[MPlayer-cvslog] r25810 - trunk/libvo/aspect.c

reimar subversion at mplayerhq.hu
Sat Jan 19 19:12:10 CET 2008


Author: reimar
Date: Sat Jan 19 19:12:10 2008
New Revision: 25810

Log:
-panscan should also work for right and left borders


Modified:
   trunk/libvo/aspect.c

Modified: trunk/libvo/aspect.c
==============================================================================
--- trunk/libvo/aspect.c	(original)
+++ trunk/libvo/aspect.c	Sat Jan 19 19:12:10 2008
@@ -134,6 +134,8 @@ void panscan_calc( void )
  if (vo_panscanrange > 0) {
    aspect(&fwidth,&fheight,A_ZOOM);
    vo_panscan_area = (aspdat.scrh-fheight);
+   if (!vo_panscan_area)
+     vo_panscan_area = aspdat.scrw - fwidth;
    vo_panscan_area *= vo_panscanrange;
  } else
    vo_panscan_area = -vo_panscanrange * aspdat.scrh;



More information about the MPlayer-cvslog mailing list