Bugfix: wrong height value used in font size calculation.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19616 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eugeni 2006-08-31 20:19:19 +00:00
parent 135a1ac661
commit 9b39128d2e
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ double ass_internal_font_size_coeff = 0.8;
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)