From 9e41dbbb479f93e9041d5008a74a75fd00a3aeac Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 23 Jun 2024 10:45:14 -0400 Subject: [PATCH] When not decoding, still mark the packet as decoded so that recording will work. --- src/zm_monitor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zm_monitor.cpp b/src/zm_monitor.cpp index e53c9665c..1ef36b529 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -2950,9 +2950,11 @@ bool Monitor::Decode() { } } else { Debug(1, "Not Decoding ? %s", Decoding_Strings[decoding].c_str()); + packet->decoded = true; } // end if doing decoding } else { - Debug(1, "No packet.size(%d) or packet->in_frame(%p). Not decoding", packet->packet->size, packet->in_frame.get()); + Warning(1, "No packet.size(%d) or packet->in_frame(%p). Not decoding", packet->packet->size, packet->in_frame.get()); + packet->decoded = true; } // end if need_decoding if ((analysis_image == ANALYSISIMAGE_YCHANNEL) && packet->in_frame && (