mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
avconv: do not set encoder options when streamcopy is used
This commit is contained in:
parent
90944ee3ab
commit
1e93c1e30f
4
avconv.c
4
avconv.c
@ -1735,10 +1735,6 @@ static int init_output_stream(OutputStream *ost, char *error, int error_len)
|
||||
|
||||
ost->st->time_base = ost->enc_ctx->time_base;
|
||||
} else if (ost->stream_copy) {
|
||||
ret = av_opt_set_dict(ost->enc_ctx, &ost->encoder_opts);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
/*
|
||||
* FIXME: will the codec context used by the parser during streamcopy
|
||||
* This should go away with the new parser API.
|
||||
|
Loading…
x
Reference in New Issue
Block a user