diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-01 15:14:22 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-01 15:14:22 +0000 |
commit | eaa1f9ab16f602602d9bf2ea826cd448dcb68ea8 (patch) | |
tree | 3aa3c18b9e92fbe8990f434124e4cc9972057f76 /libass | |
parent | 8ffc80384100d8bef9dcc70e1df1040e9d494265 (diff) |
Move get_bitmap_glyph() call to a separate loop.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23192 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass_render.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c index d4c2bc0311..f397a57a63 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -1966,10 +1966,12 @@ static int ass_render_event(ass_event_t* event, event_images_t* event_images) 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; |