From 3a8058658d3c0fadc607460d0411bbdea55a8edb Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 30 Apr 2016 14:25:23 +0200 Subject: sd_add: replace --sub-ass=no with --ass-style-override=strip --sub-ass=no / --ass=no still work, but --ass-style-override=strip is preferred now. With this change, --ass-style-override can control all the types of style overriding. --- sub/sd_ass.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sub/sd_ass.c') diff --git a/sub/sd_ass.c b/sub/sd_ass.c index 788b78f3a4..e52795f7eb 100644 --- a/sub/sd_ass.c +++ b/sub/sd_ass.c @@ -422,7 +422,8 @@ static void get_bitmaps(struct sd *sd, struct mp_osd_res dim, double pts, { struct sd_ass_priv *ctx = sd->priv; struct MPOpts *opts = sd->opts; - bool no_ass = !opts->ass_enabled || ctx->on_top; + bool no_ass = !opts->ass_enabled || ctx->on_top || + opts->ass_style_override == 5; bool converted = ctx->is_converted || no_ass; ASS_Track *track = no_ass ? ctx->shadow_track : ctx->ass_track; ASS_Renderer *renderer = ctx->ass_renderer; -- cgit v1.2.3