Fix logging of next_dts instead of last_dts

This commit is contained in:
Isaac Connor committed 2022-04-28 10:36:06 -04:00
1 parent dbe8981378
commit a092ca90eb
1 file changed
+2 -2
+2 -2
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];
}