Commit 41401773 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'df0229a7'

* commit 'df0229a7':
  avconv: Apply codec options to streams that are copied as well
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 46f4b468 df0229a7
......@@ -2424,6 +2424,8 @@ static int transcode_init(void)
if (ost->st->codec->me_threshold)
input_streams[ost->source_index]->st->codec->debug |= FF_DEBUG_MV;
} else {
av_opt_set_dict(ost->st->codec, &ost->opts);
}
}
......
......@@ -957,6 +957,8 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e
preset, ost->file_index, ost->index);
exit(1);
}
} else {
ost->opts = filter_codec_opts(o->g->codec_opts, AV_CODEC_ID_NONE, oc, st, NULL);
}
avcodec_get_context_defaults3(st->codec, ost->enc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment