Mercurial > libavformat.hg
changeset 4409:38cf661aa650 libavformat
rewrite pts also, as comment says
author | bcoudurier |
---|---|
date | Sun, 08 Feb 2009 09:48:59 +0000 |
parents | 94287f131b60 |
children | 517f1978ce5c |
files | audiointerleave.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/audiointerleave.c Sun Feb 08 09:42:37 2009 +0000 +++ b/audiointerleave.c Sun Feb 08 09:48:59 2009 +0000 @@ -105,7 +105,7 @@ av_fifo_generic_write(&aic->fifo, pkt->data, pkt->size, NULL); } else { // rewrite pts and dts to be decoded time line position - pkt->dts = aic->dts; + pkt->pts = pkt->dts = aic->dts; aic->dts += pkt->duration; ff_interleave_add_packet(s, pkt, compare_ts); }