Fix logging of next_dts instead of last_dts

This commit is contained in:
Isaac Connor
2022-04-26 10:08:36 -04:00
parent dbe8981378
commit a092ca90eb

View File

@@ -1246,8 +1246,8 @@ int VideoStore::write_packet(AVPacket *pkt, AVStream *stream) {
}
pkt->dts = last_dts[stream->index];
} else if (pkt->dts < last_dts[stream->index]) {
Warning("non increasing dts, fixing. our dts %" PRId64 " stream %d next_dts %" PRId64,
pkt->dts, stream->index, next_dts[stream->index]);
Warning("non increasing dts, fixing. our dts %" PRId64 " stream %d last_dts %" PRId64,
pkt->dts, stream->index, last_dts[stream->index]);
pkt->dts = last_dts[stream->index];
}