properly set streams start_time

Originally committed as revision 8693 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2007-04-09 16:27:00 +00:00
parent 8e7a7e6a01
commit 01344104c1

View File

@ -2301,6 +2301,7 @@ matroska_read_header (AVFormatContext *s,
av_set_pts_info(st, 64, matroska->time_scale, 1000*1000*1000); /* 64 bit pts in ns */
st->codec->codec_id = codec_id;
st->start_time = 0;
if (track->default_duration)
av_reduce(&st->codec->time_base.num, &st->codec->time_base.den,