mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-28 10:43:41 -04:00
Fix logging of next_dts instead of last_dts
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user