summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.c
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-01 15:14:22 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-01 15:14:22 +0000
commitbea23320d4247b5e997c438d06ebeb818074b287 (patch)
tree07d0290a532092f3285bfcb3063d7cc17026b09d /libass/ass_render.c
parent309c113b399c4180df55675ac98a5b79e8d62dd5 (diff)
downloadlibass-bea23320d4247b5e997c438d06ebeb818074b287.tar.bz2
libass-bea23320d4247b5e997c438d06ebeb818074b287.tar.xz
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/ass_render.c')
-rw-r--r--libass/ass_render.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index d4c2bc0..f397a57 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;