[MPlayer-cvslog] r23192 - trunk/libass/ass_render.c
eugeni
subversion at mplayerhq.hu
Tue May 1 17:14:22 CEST 2007
Author: eugeni
Date: Tue May 1 17:14:22 2007
New Revision: 23192
Log:
Move get_bitmap_glyph() call to a separate loop.
Modified:
trunk/libass/ass_render.c
Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c (original)
+++ trunk/libass/ass_render.c Tue May 1 17:14:22 2007
@@ -1966,10 +1966,12 @@ static int ass_render_event(ass_event_t*
info->hash_key.shift_x = 0;
info->hash_key.shift_y = 0;
}
- get_bitmap_glyph(info);
}
}
+ for (i = 0; i < text_info.length; ++i)
+ get_bitmap_glyph(text_info.glyphs + i);
+
event_images->top = device_y - d6_to_int(text_info.lines[0].asc);
event_images->height = d6_to_int(text_info.height);
event_images->detect_collisions = render_context.detect_collisions;
More information about the MPlayer-cvslog
mailing list