From 071292b8c952bd11ca6782cce59ab70e3edfeb21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 15 Apr 2012 21:43:55 +0200 Subject: [PATCH] Respect -copyinkf for subtitles. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Necessary to make it possible to copy teletext streams (trac issue #531). Signed-off-by: Reimar Döffinger --- ffmpeg.c | 2 ++ 1 file changed, 2 insertions(+) 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; }