[MPlayer-dev-eng] [PATCH] libass - fix text aspect w/ panscan and vo_gl

Evgeniy Stepanov eugeni.stepanov at gmail.com
Sun Sep 30 19:23:44 CEST 2007


On Saturday 29 September 2007 19:27:02 Jindrich Makovicka wrote:
> Hi,
>
> libass currently does not account for the areas cropped by pan/scan,
> which causes text deformation when zooming a widescreen movie.
>
> The attached patch fixes this issue by modifying the semantics of
> ass_set_margins(). It now allows negative values, which are interpreted
> as cropping offsets, and are later used in the aspect ration
> calculation.
>
> Regards,

This patch does not change logical to screen coordinates mapping. This way, 
for instance, a subtitle with \pos(0, 0) will always be placed at the 
left-top corner. This is wrong, subtitles placement (relative to the video) 
should not change with panscan, even if they will sometimes move outside the 
screen.



More information about the MPlayer-dev-eng mailing list