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

eugeni subversion at mplayerhq.hu
Tue Aug 15 22:41:53 CEST 2006


Author: eugeni
Date: Tue Aug 15 22:41:53 2006
New Revision: 19410

Modified:
   trunk/libass/ass_render.c

Log:
Angle value from style was ignored. Not anymore.


Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Tue Aug 15 22:41:53 2006
@@ -1014,7 +1014,7 @@
 	render_context.font_size = render_context.style->FontSize;
 	render_context.evt_type = EVENT_NORMAL;
 	render_context.alignment = 0;
-	render_context.rotation = 0.;
+	render_context.rotation = M_PI * render_context.style->Angle / 180.;
 	render_context.pos_x = 0;
 	render_context.pos_y = 0;
 	render_context.org_x = 0;



More information about the MPlayer-cvslog mailing list