From 939a0f40e68411649a250f6fdbeb1a058371da0e Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 11 Apr 2021 13:22:37 -0400 Subject: [PATCH] Include image_count in debug line --- src/zm_monitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zm_monitor.cpp b/src/zm_monitor.cpp index 35102c416..4c71e6a54 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -2569,8 +2569,8 @@ int Monitor::Capture() { shared_data->last_write_index = index; shared_data->last_write_time = packet->timestamp->tv_sec; } - Debug(2, "Have packet stream_index:%d ?= videostream_id:(%d) q.vpktcount(%d) event?(%d) ", - packet->packet.stream_index, video_stream_id, packetqueue.packet_count(video_stream_id), ( event ? 1 : 0 ) ); + Debug(2, "Have packet stream_index:%d ?= videostream_id: %d q.vpktcount %d event? %d image_count %d", + packet->packet.stream_index, video_stream_id, packetqueue.packet_count(video_stream_id), ( event ? 1 : 0 ), image_count ); if (packet->codec_type == AVMEDIA_TYPE_VIDEO) { packet->packet.stream_index = video_stream_id; // Convert to packetQueue's index