mirror of https://git.ffmpeg.org/ffmpeg.git
avconv: set the encoding framerate when the output is CFR
This commit is contained in:
parent
5bf2454e7c
commit
d10102d23c
2
avconv.c
2
avconv.c
|
@ -1978,6 +1978,8 @@ static int init_output_stream_encode(OutputStream *ost)
|
|||
ost->filter->filter->inputs[0]->sample_aspect_ratio;
|
||||
enc_ctx->pix_fmt = ost->filter->filter->inputs[0]->format;
|
||||
|
||||
enc_ctx->framerate = ost->frame_rate;
|
||||
|
||||
ost->st->avg_frame_rate = ost->frame_rate;
|
||||
|
||||
if (dec_ctx &&
|
||||
|
|
Loading…
Reference in New Issue