0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

Forgot to commit with vo_sdl osd patch.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4810 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2002-02-22 17:57:15 +00:00
parent 3cb2033d44
commit 61f6060243

View File

@ -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 @@ void spudec_draw_scaled(void *me, unsigned int dxs, unsigned int dys, void (*dra
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. */