forked from FFmpeg/FFmpeg
rewrite pts also, as comment says
Originally committed as revision 17051 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
59453725f2
commit
9e8d61d4f1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue