diff options
author | Anshul Maheshwari <anshul.ffmpeg@gmail.com> | 2014-06-22 12:54:33 +0530 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-22 21:07:40 +0200 |
commit | 7e6cf364537e6f4b421318219eb0920b1f115f83 (patch) | |
tree | ea7d61ea282ff7948d67dcc2c867f21188912c94 /ffmpeg.c | |
parent | ca2f59e12108c1754d57a5614f6e38253268b916 (diff) | |
download | ffmpeg-7e6cf364537e6f4b421318219eb0920b1f115f83.tar.gz |
ffmpeg: fix transcoding dvbsub to dvbsub
fix ticket #2024
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2281,6 +2281,8 @@ static int init_input_stream(int ist_index, char *error, int error_len) ist->dec_ctx->thread_safe_callbacks = 1; 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); if (!av_dict_get(ist->decoder_opts, "threads", NULL, 0)) av_dict_set(&ist->decoder_opts, "threads", "auto", 0); |