|
|
|
@ -2963,7 +2963,7 @@ static void add_input_streams(OptionsContext *o, AVFormatContext *ic) |
|
|
|
|
ist->st = st; |
|
|
|
|
ist->file_index = nb_input_files; |
|
|
|
|
ist->discard = 1; |
|
|
|
|
ist->opts = filter_codec_opts(codec_opts, ist->st->codec->codec_id, ic, st); |
|
|
|
|
ist->opts = filter_codec_opts(codec_opts, choose_decoder(o, ic, st), ic, st); |
|
|
|
|
|
|
|
|
|
ist->ts_scale = 1.0; |
|
|
|
|
MATCH_PER_STREAM_OPT(ts_scale, dbl, ist->ts_scale, ic, st); |
|
|
|
@ -3302,7 +3302,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e |
|
|
|
|
st->codec->codec_type = type; |
|
|
|
|
choose_encoder(o, oc, ost); |
|
|
|
|
if (ost->enc) { |
|
|
|
|
ost->opts = filter_codec_opts(codec_opts, ost->enc->id, oc, st); |
|
|
|
|
ost->opts = filter_codec_opts(codec_opts, ost->enc, oc, st); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
avcodec_get_context_defaults3(st->codec, ost->enc); |
|
|
|
|