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

reimar subversion at mplayerhq.hu
Fri Sep 22 22:47:08 CEST 2006


Author: reimar
Date: Fri Sep 22 22:47:08 2006
New Revision: 19946

Modified:
   trunk/libass/ass_render.c

Log:
Fix width -> orig_width typo causing subtitles to be too far to the right
for movies with vertical black bars (aspect < monitoraspect).


Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Fri Sep 22 22:47:08 2006
@@ -436,7 +436,7 @@
  * \brief Mapping between script and screen coordinates
  */
 static int x2scr(int x) {
-	return x*frame_context.width / frame_context.track->PlayResX + global_settings->left_margin;
+	return x*frame_context.orig_width / frame_context.track->PlayResX + global_settings->left_margin;
 }
 /**
  * \brief Mapping between script and screen coordinates



More information about the MPlayer-cvslog mailing list