[FFmpeg-cvslog] Respect -copyinkf for subtitles.
Reimar Döffinger
git at videolan.org
Mon Apr 16 22:14:33 CEST 2012
ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sun Apr 15 21:43:55 2012 +0200| [071292b8c952bd11ca6782cce59ab70e3edfeb21] | committer: Reimar Döffinger
Respect -copyinkf for subtitles.
Necessary to make it possible to copy teletext streams
(trac issue #531).
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=071292b8c952bd11ca6782cce59ab70e3edfeb21
---
ffmpeg.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index f5025b0..cbfacc0 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4263,6 +4263,8 @@ static OutputStream *new_subtitle_stream(OptionsContext *o, AVFormatContext *oc,
subtitle_enc->codec_type = AVMEDIA_TYPE_SUBTITLE;
+ MATCH_PER_STREAM_OPT(copy_initial_nonkeyframes, i, ost->copy_initial_nonkeyframes, oc, st);
+
return ost;
}
More information about the ffmpeg-cvslog
mailing list