mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 21:07:29 +01:00
Move get_bitmap_glyph() call to a separate loop.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23192 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8ffc803841
commit
eaa1f9ab16
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user