[Mplayer-cvslog] CVS: main spudec.c,1.18,1.19

Atmosfear atmos4 at mplayer.dev.hu
Fri Feb 22 18:57:18 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv23148

Modified Files:
	spudec.c 
Log Message:
Forgot to commit with vo_sdl osd patch.


Index: spudec.c
===================================================================
RCS file: /cvsroot/mplayer/main/spudec.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- spudec.c	15 Jan 2002 21:05:37 -0000	1.18
+++ spudec.c	22 Feb 2002 17:57:15 -0000	1.19
@@ -3,7 +3,7 @@
    1: aproximate
    2: full (slowest, best looking)
  */
-#define ANTIALIASING_ALGORITHM 1
+#define ANTIALIASING_ALGORITHM 2
 
 /* SPUdec.c
    Skeleton of function spudec_process_controll() is from xine sources.
@@ -389,7 +389,8 @@
 		   spu->image, spu->aimage, spu->stride);
     }
     else {
-      if (!spu->scaled) {	/* Resizing is needed */
+      if (!spu->scaled ||
+          spu->orig_frame_width != dxs || spu->orig_frame_height != dys) {	/* Resizing is needed */
 	/* scaled_x = scalex * x / 0x100
 	   scaled_y = scaley * y / 0x100
 	   order of operations is important because of rounding. */




More information about the MPlayer-cvslog mailing list