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

greg subversion at mplayerhq.hu
Thu Mar 5 21:05:56 CET 2009


Author: greg
Date: Thu Mar  5 21:05:56 2009
New Revision: 28814

Log:
Ignore PlayResX/Y aspect ratio for font aspect ratio.

Modified:
   trunk/libass/ass_render.c

Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	Thu Mar  5 20:46:08 2009	(r28813)
+++ trunk/libass/ass_render.c	Thu Mar  5 21:05:56 2009	(r28814)
@@ -2228,10 +2228,7 @@ static int ass_start_frame(ass_renderer_
 	                           frame_context.orig_height / frame_context.track->PlayResY;
 	frame_context.border_scale = ((double)frame_context.orig_height) / frame_context.track->PlayResY;
 
-	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);
+	frame_context.font_scale_x = 1.;
 
 	priv->prev_images_root = priv->images_root;
 	priv->images_root = 0;



More information about the MPlayer-cvslog mailing list