When not decoding, still mark the packet as decoded so that recording will work.

This commit is contained in:
Isaac Connor
2024-06-23 10:45:14 -04:00
parent 65da80d6ae
commit 9e41dbbb47

View File

@@ -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 && (