# HG changeset patch # User atmos4 # Date 1014400635 0 # Node ID e508a517c33dd80c55815788b8c9b54418dd2adf # Parent 4eaa205201b087234e31642c1cad1efb602bc4f5 Forgot to commit with vo_sdl osd patch. diff -r 4eaa205201b0 -r e508a517c33d spudec.c --- 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. */