From d2efa56d48464107ed14c9822586eee5276a4b32 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 22 Nov 2015 22:06:56 +0100 Subject: sd_ass: fix secondary subtitle mode If a second subtitle is shown, it should be forced to display on top of the screen. This was working only if --no-ass was passed, because otherwise the subtitle was rendered normally (i.e. usually on the bottom). --- sub/sd_ass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sub') diff --git a/sub/sd_ass.c b/sub/sd_ass.c index 804e561e87..97ca3fad6d 100644 --- a/sub/sd_ass.c +++ b/sub/sd_ass.c @@ -224,7 +224,7 @@ 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; + bool no_ass = !opts->ass_enabled || ctx->on_top; bool converted = ctx->is_converted || no_ass; ASS_Track *track = no_ass ? ctx->shadow_track : ctx->ass_track; -- cgit v1.2.3