Mercurial > libavformat.hg
changeset 2009:c0c6474ce5a7 libavformat
properly set streams start_time
author | aurel |
---|---|
date | Mon, 09 Apr 2007 16:27:00 +0000 |
parents | 779ab422b533 |
children | 7190252e8ad0 |
files | matroska.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/matroska.c Mon Apr 09 16:24:03 2007 +0000 +++ b/matroska.c Mon Apr 09 16:27:00 2007 +0000 @@ -2301,6 +2301,7 @@ 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,