mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 12:40:01 +00:00
ffmpeg: preserve avg_frame_rate on stream copy.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
439e1d196b
commit
0e55902324
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;
|
||||
|
Loading…
Reference in New Issue
Block a user