Commit 9e8d61d4 authored by Baptiste Coudurier's avatar Baptiste Coudurier

rewrite pts also, as comment says

Originally committed as revision 17051 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 59453725
......@@ -105,7 +105,7 @@ int ff_audio_interleave(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int fl
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);
}
......
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