You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
ffmpeg: preserve avg_frame_rate on stream copy.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
1
ffmpeg.c
1
ffmpeg.c
@@ -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;
|
||||
|
Reference in New Issue
Block a user