From 0e55902324f07c91821154ad4cf84cbc8066a1f5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 5 Nov 2011 23:43:01 +0100 Subject: ffmpeg: preserve avg_frame_rate on stream copy. Signed-off-by: Michael Niedermayer --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index 24deeee0a1..a836c98abb 100644 --- a/ffmpeg.c +++ b/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; -- cgit v1.2.3