Patch by Steve Lhomme % slhomme A divxcorp P com %
Original thread:
Date: Mon, 06 Nov 2006 21:28:52 +0100
Subject: [Ffmpeg-devel] [PATCH] Matroska FPS info
Originally committed as revision 6922 to svn://svn.ffmpeg.org/ffmpeg/trunk
st->codec->codec_id = codec_id;
+ if (track->default_duration)
+ av_reduce(&st->codec->time_base.num, &st->codec->time_base.den,
+ track->default_duration, 1000000000, 30000);
+
if(extradata){
st->codec->extradata = extradata;
st->codec->extradata_size = extradata_size;