diff --git a/src/zm_monitorstream.cpp b/src/zm_monitorstream.cpp index 126ed708e..e38c24473 100644 --- a/src/zm_monitorstream.cpp +++ b/src/zm_monitorstream.cpp @@ -378,8 +378,9 @@ bool MonitorStream::sendFrame(const char *filepath, const timeval ×tamp) { } // end bool MonitorStream::sendFrame(const char *filepath, struct timeval *timestamp) bool MonitorStream::sendFrame(Image *image, const timeval ×tamp) { - if (!config.timestamp_on_capture) + if (!config.timestamp_on_capture) { monitor->TimestampImage(image, timestamp); + } Image *send_image = prepareImage(image); fputs("--" BOUNDARY "\r\n", stdout);