Mercurial > libavformat.hg
diff utils.c @ 547:b832a27355ec libavformat
initial dts fix
| author | michael |
|---|---|
| date | Sun, 03 Oct 2004 12:58:14 +0000 |
| parents | be81a0f1974d |
| children | e1f17fcfb92c |
line wrap: on
line diff
--- a/utils.c Sun Oct 03 12:17:46 2004 +0000 +++ b/utils.c Sun Oct 03 12:58:14 2004 +0000 @@ -1979,8 +1979,8 @@ static void truncate_ts(AVStream *st, AVPacket *pkt){ int64_t pts_mask = (2LL << (st->pts_wrap_bits-1)) - 1; - if(pkt->dts < 0) - pkt->dts= 0; //this happens for low_delay=0 and b frames, FIXME, needs further invstigation about what we should do here +// if(pkt->dts < 0) +// pkt->dts= 0; //this happens for low_delay=0 and b frames, FIXME, needs further invstigation about what we should do here pkt->pts &= pts_mask; pkt->dts &= pts_mask;
