summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-15 21:43:55 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-16 22:13:12 +0200
commit071292b8c952bd11ca6782cce59ab70e3edfeb21 (patch)
tree2711d0795503c939674588bb8ed8c00cb053db77 /ffmpeg.c
parent4a95876f4df29f69dca45da4013b276cb2dd4cc6 (diff)
Respect -copyinkf for subtitles.
Necessary to make it possible to copy teletext streams (trac issue #531). Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index f5025b0be0..cbfacc0873 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;
}