[MPlayer-cvslog] r20513 - trunk/libass/ass_render.c

eugeni subversion at mplayerhq.hu
Sun Oct 29 14:59:36 CET 2006


Author: eugeni
Date: Sun Oct 29 14:59:36 2006
New Revision: 20513

Modified:
   trunk/libass/ass_render.c

Log:
Fix width -> orig_width typo.


Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Sun Oct 29 14:59:36 2006
@@ -2002,7 +2002,7 @@
 	                           frame_context.orig_height / frame_context.track->PlayResY;
 	frame_context.border_scale = ((double)frame_context.orig_height) / frame_context.track->PlayResY;
 
-	if (frame_context.width * track->PlayResY == frame_context.height * track->PlayResX)
+	if (frame_context.orig_width * track->PlayResY == frame_context.orig_height * track->PlayResX)
 		frame_context.font_scale_x = 1.;
 	else
 		frame_context.font_scale_x = ((double)(frame_context.orig_width * track->PlayResY)) / (frame_context.orig_height * track->PlayResX);



More information about the MPlayer-cvslog mailing list