changeset 4809:e508a517c33d

Forgot to commit with vo_sdl osd patch.
author atmos4
date Fri, 22 Feb 2002 17:57:15 +0000
parents 4eaa205201b0
children bb6b9aca7195
files spudec.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/spudec.c	Fri Feb 22 16:16:02 2002 +0000
+++ b/spudec.c	Fri Feb 22 17:57:15 2002 +0000
@@ -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. */