Commit 01344104 authored by Aurelien Jacobs's avatar Aurelien Jacobs

properly set streams start_time

Originally committed as revision 8693 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8e7a7e6a
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment