sub: add option to workaround broken mkv files

See additions to options.rst.
This commit is contained in:
wm4
2014-08-14 23:59:35 +02:00
parent 498644afaf
commit d5940fabcd
5 changed files with 13 additions and 2 deletions

View File

@@ -270,7 +270,7 @@ static void fix_events(struct sd *sd)
static void reset(struct sd *sd)
{
struct sd_ass_priv *ctx = sd->priv;
if (ctx->flush_on_seek)
if (ctx->flush_on_seek || sd->opts->sub_clear_on_seek)
ass_flush_events(ctx->ass_track);
ctx->flush_on_seek = false;
}