diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-09-01 04:13:48 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-01 19:51:58 +0200 |
commit | a2dbf379f01b812ef96dc4d783025a1740572890 (patch) | |
tree | 2c009fb3bd02642ff80f2a73dfcf45ce41ce353d /ffmpeg.c | |
parent | e8d0b84e8a5893ed29993e743de82079c93b5fb6 (diff) | |
download | ffmpeg-a2dbf379f01b812ef96dc4d783025a1740572890.tar.gz |
avcodec/dvbsubdec: make compute_edt user settable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2298,7 +2298,7 @@ static int init_input_stream(int ist_index, char *error, int error_len) av_opt_set_int(ist->dec_ctx, "refcounted_frames", 1, 0); if(ist->dec_ctx->codec_id == AV_CODEC_ID_DVB_SUBTITLE) - av_dict_set(&ist->decoder_opts, "compute_edt", "1", 0); + av_dict_set(&ist->decoder_opts, "compute_edt", "1", AV_DICT_DONT_OVERWRITE); if (!av_dict_get(ist->decoder_opts, "threads", NULL, 0)) av_dict_set(&ist->decoder_opts, "threads", "auto", 0); |