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; }