mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
libass: remove redundant checks for LIBASS_VERSION
Since 0.12.1 is the minimum, just assume it in the code too.
This commit is contained in:
@@ -442,9 +442,7 @@ static void update_sub(struct osd_state *osd, struct osd_object *obj)
|
||||
if (obj->type == OSDTYPE_SUB2)
|
||||
style->Alignment = 6;
|
||||
|
||||
#if LIBASS_VERSION >= 0x01010000
|
||||
ass_set_line_position(obj->osd_render, 100 - opts->sub_pos);
|
||||
#endif
|
||||
|
||||
add_osd_ass_event_escaped(obj->osd_track, obj->text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user