Mercurial > mplayer.hg
diff libass/ass_render.c @ 19610:82861f300a24
Bugfix: wrong height value used in font size calculation.
author | eugeni |
---|---|
date | Thu, 31 Aug 2006 20:19:19 +0000 |
parents | 5682e49dffe8 |
children | 31dbf5ebd7bb |
line wrap: on
line diff
--- a/libass/ass_render.c Thu Aug 31 19:06:01 2006 +0000 +++ b/libass/ass_render.c Thu Aug 31 20:19:19 2006 +0000 @@ -505,7 +505,7 @@ static void change_font_size(int sz) { double size = (double)sz * global_settings->font_size_coeff * ass_internal_font_size_coeff; - size *= frame_context.height; + size *= frame_context.orig_height; size /= frame_context.track->PlayResY; if (size < 1)