[MPlayer-cvslog] r19616 - trunk/libass/ass_render.c
eugeni
subversion at mplayerhq.hu
Thu Aug 31 22:19:19 CEST 2006
Author: eugeni
Date: Thu Aug 31 22:19:19 2006
New Revision: 19616
Modified:
trunk/libass/ass_render.c
Log:
Bugfix: wrong height value used in font size calculation.
Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c (original)
+++ trunk/libass/ass_render.c Thu Aug 31 22:19:19 2006
@@ -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)
More information about the MPlayer-cvslog
mailing list