Commit 0e559023 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: preserve avg_frame_rate on stream copy.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 439e1d19
......@@ -2162,6 +2162,7 @@ static int transcode_init(OutputFile *output_files, int nb_output_files,
ist->st->codec->sample_aspect_ratio.num ?
ist->st->codec->sample_aspect_ratio : (AVRational){0, 1};
}
ost->st->avg_frame_rate = ist->st->avg_frame_rate;
break;
case AVMEDIA_TYPE_SUBTITLE:
codec->width = icodec->width;
......
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