diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-05 23:43:01 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-06 00:09:40 +0100 |
commit | 0e55902324f07c91821154ad4cf84cbc8066a1f5 (patch) | |
tree | 1c562adb91967c75e94605ea4f93f3c351bb4fb9 /ffmpeg.c | |
parent | 439e1d196b26847dd0bfebf143918dd04552bd04 (diff) | |
download | ffmpeg-0e55902324f07c91821154ad4cf84cbc8066a1f5.tar.gz |
ffmpeg: preserve avg_frame_rate on stream copy.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |