[MPlayer-dev-eng] [PATCH] Remove trailing black boxes when scaling subtitles.

Alex Beregszaszi alex at fsn.hu
Sun Jul 20 19:26:43 CEST 2003


Hi,

> sometimes when using options such as:
> -spuaa 4 -spugauss 0.5 -vop scale=640:272
> 
> there would be an extra black box at the right of the subtitles.
> this is especially noticeable when the subtitle images are cropped
> instead of being fullscreen.
> 
> the following patch works around the problem by clearing the extra
> padding(scaled_stride - scaled_width) after scaling the image instead
> of before.
What about this patch? I'm not familiar with the spudec code.
Probably apply this after the release from main?

-- 
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)



More information about the MPlayer-dev-eng mailing list