mirror of https://github.com/mpv-player/mpv.git
sd_ass: replace ifdef with explicit version check
This commit is contained in:
parent
c9a53780cf
commit
d2efa1c1be
|
@ -510,7 +510,7 @@ static void configure_ass(struct sd *sd, struct mp_osd_res *dim,
|
|||
set_force_flags |= ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE;
|
||||
if (converted)
|
||||
set_force_flags |= ASS_OVERRIDE_BIT_ALIGNMENT;
|
||||
#ifdef ASS_JUSTIFY_AUTO
|
||||
#if LIBASS_VERSION >= 0x01306000
|
||||
if ((converted || shared_opts->ass_style_override[sd->order]) && opts->ass_justify)
|
||||
set_force_flags |= ASS_OVERRIDE_BIT_JUSTIFY;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue