diff --git a/src/zm_videostore.cpp b/src/zm_videostore.cpp index e578d5196..477e7544c 100644 --- a/src/zm_videostore.cpp +++ b/src/zm_videostore.cpp @@ -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]; }