ffmpeg: preserve avg_frame_rate on stream copy.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/2/head
Michael Niedermayer 13 years ago
parent 439e1d196b
commit 0e55902324
  1. 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…
Cancel
Save