ffmpeg | branch: master | Carl Eugen Hoyos <ceffm...@gmail.com> | Fri Nov 23 18:49:27 2018 +0100| [698574ac5d68e806279a8d28aeff48a407377538] | committer: Carl Eugen Hoyos
ffmpeg: Avoid duplicating Closed Captions when increasing frame rate. Fixes ticket #7506. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=698574ac5d68e806279a8d28aeff48a407377538 --- fftools/ffmpeg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 085d6d2dfb..6abcc57776 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -1286,6 +1286,8 @@ static void do_video_out(OutputFile *of, ret = avcodec_send_frame(enc, in_picture); if (ret < 0) goto error; + // Make sure Closed Captions will not be duplicated + av_frame_remove_side_data(in_picture, AV_FRAME_DATA_A53_CC); while (1) { ret = avcodec_receive_packet(enc, &pkt); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog