[FFmpeg-cvslog] ffmpeg: fix transcoding dvbsub to dvbsub
Anshul Maheshwari
git at videolan.org
Sun Jun 22 21:16:45 CEST 2014
ffmpeg | branch: master | Anshul Maheshwari <anshul.ffmpeg at gmail.com> | Sun Jun 22 13:12:33 2014 +0530| [7e6cf364537e6f4b421318219eb0920b1f115f83] | committer: Michael Niedermayer
ffmpeg: fix transcoding dvbsub to dvbsub
fix ticket #2024
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7e6cf364537e6f4b421318219eb0920b1f115f83
---
ffmpeg.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ffmpeg.c b/ffmpeg.c
index 9d9c4f4..91e4734 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list