1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00
mpv/sub
reimar dbde82d0f2 sub/spudec: fix artefacts at right border of subtitles
Fix artefacts at right border of scaled bitmap subtitles by clearing
the destination to 0 first if the width is not a multiple of 8.
This is necessary because some of the optimized sub drawing functions
always draw pixels in multiples of 8, so we cannot rely on any "dirt"
in the "unused" borders being ignored.
Note that due to the way rendering works, both alpha and the image need
to be cleared.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33230 b3059339-0415-0410-9bf9-f77b7e298cf2
2011-05-02 00:36:20 +03:00
..
ass_mp.c
ass_mp.h
av_sub.c
av_sub.h
dec_sub.c
dec_sub.h
find_sub.c
font_load_ft.c
font_load.c
font_load.h
osd_font.h
sd_ass.c
sd.h
spudec.c sub/spudec: fix artefacts at right border of subtitles 2011-05-02 00:36:20 +03:00
spudec.h
sub_cc.c
sub_cc.h
sub.c
sub.h
subassconvert.c
subassconvert.h
subreader.c
subreader.h
unrar_exec.c
unrar_exec.h
vobsub.c
vobsub.h