Commit acfe1307 authored by aurel's avatar aurel

properly set streams start_time

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8693 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0f0ee57b
...@@ -2301,6 +2301,7 @@ matroska_read_header (AVFormatContext *s, ...@@ -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 */ av_set_pts_info(st, 64, matroska->time_scale, 1000*1000*1000); /* 64 bit pts in ns */
st->codec->codec_id = codec_id; st->codec->codec_id = codec_id;
st->start_time = 0;
if (track->default_duration) if (track->default_duration)
av_reduce(&st->codec->time_base.num, &st->codec->time_base.den, 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