From 192aae8e306d0bf777101b7640ceffcef45c05a8 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 8 Feb 2021 09:04:03 -0500 Subject: [PATCH] small space and code doc --- 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 5c1cb63d7..09715e9f0 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -1976,11 +1976,11 @@ bool Monitor::Analyse() { if ( !event ) { Debug(2, "Creating continuous event"); - if ( ! snap->keyframe and (videowriter == PASSTHROUGH) ) { + if ( !snap->keyframe and (videowriter == PASSTHROUGH) ) { // Must start on a keyframe so rewind. Only for passthrough though I guess. // FIXME this iterator is not protected from invalidation packetqueue_iterator *start_it = packetqueue.get_event_start_packet_it( - snap_it, 0 + snap_it, 0 /* pre_event_count */ ); // This gets a lock on the starting packet