Mercurial > mplayer.hg
diff spudec.c @ 4809:e508a517c33d
Forgot to commit with vo_sdl osd patch.
author | atmos4 |
---|---|
date | Fri, 22 Feb 2002 17:57:15 +0000 |
parents | a70ded82ff77 |
children | bb6b9aca7195 |
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. */