comparison mplayer.h @ 33143:1cad23803d94

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.
author reimar
date Thu, 07 Apr 2011 21:08:49 +0000
parents faefba58f413
children d068eac6cbf9
comparison
equal deleted inserted replaced
33142:3aa60275d74f 33143:1cad23803d94