summaryrefslogtreecommitdiffstats
path: root/sub/lavc_conv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/lavc_conv.c')
-rw-r--r--sub/lavc_conv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sub/lavc_conv.c b/sub/lavc_conv.c
index 65ebc0d8c7..4824344a19 100644
--- a/sub/lavc_conv.c
+++ b/sub/lavc_conv.c
@@ -86,6 +86,7 @@ struct lavc_conv *lavc_conv_create(struct mp_log *log, const char *codec_name,
if (mp_lavc_set_extradata(avctx, extradata, extradata_len) < 0)
goto error;
av_dict_set(&opts, "sub_text_format", "ass", 0);
+ av_dict_set(&opts, "flags2", "+ass_ro_flush_noop", 0);
if (strcmp(codec_name, "eia_608") == 0)
av_dict_set(&opts, "real_time", "1", 0);
if (avcodec_open2(avctx, codec, &opts) < 0)