git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1893c72
)
ffmpeg: Avoid duplicating Closed Captions when increasing frame rate.
author
Carl Eugen Hoyos
<ceffmpeg@gmail.com>
Fri, 23 Nov 2018 17:49:27 +0000
(18:49 +0100)
committer
Carl Eugen Hoyos
<ceffmpeg@gmail.com>
Tue, 27 Nov 2018 17:38:09 +0000
(18:38 +0100)
Fixes ticket #7506.
fftools/ffmpeg.c
patch
|
blob
|
history
diff --git
a/fftools/ffmpeg.c
b/fftools/ffmpeg.c
index
085d6d2
..
6abcc57
100644
(file)
--- 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);