From c3e9b2b17764a1afa60ce23c0f1d3179fed3a1ed Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 18 Apr 2017 14:17:57 -0400 Subject: [PATCH] add some code comments --- src/zm_ffmpeg_camera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zm_ffmpeg_camera.cpp b/src/zm_ffmpeg_camera.cpp index 244951fcd..234faf1b5 100644 --- a/src/zm_ffmpeg_camera.cpp +++ b/src/zm_ffmpeg_camera.cpp @@ -631,7 +631,7 @@ int FfmpegCamera::CaptureAndRecord( Image &image, timeval recording, char* event NULL, startTime, this->getMonitor()); - } + } // end if record_audio strcpy(oldDirectory, event_file); // Need to write out all the frames from the last keyframe? @@ -661,7 +661,7 @@ int FfmpegCamera::CaptureAndRecord( Image &image, timeval recording, char* event delete queued_packet; } // end while packets in the packetqueue Debug(2, "Wrote %d queued packets", packet_count ); - } // end if ! wasRecording + } // end if ! was recording } else { // Not recording