mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
@ -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…
Reference in New Issue
Block a user