From 87f4f9afbd4c91f7b8974eccca5e292ef9a6cb8d Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 6 Apr 2023 19:02:50 -0400 Subject: [PATCH] Add scale to status for monitorStream --- src/zm_monitorstream.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zm_monitorstream.cpp b/src/zm_monitorstream.cpp index b0fce8b50..c86d43e08 100644 --- a/src/zm_monitorstream.cpp +++ b/src/zm_monitorstream.cpp @@ -236,6 +236,7 @@ void MonitorStream::processCommand(const CmdMsg *msg) { int rate; double delay; int zoom; + int scale; bool delayed; bool paused; bool enabled; @@ -277,6 +278,7 @@ void MonitorStream::processCommand(const CmdMsg *msg) { status_data.rate = replay_rate; status_data.delay = FPSeconds(now - last_frame_sent).count(); status_data.zoom = zoom; + status_data.scale = scale; Debug(2, "viewing fps: %.2f capture_fps: %.2f analysis_fps: %.2f Buffer Level:%d, Delayed:%d, Paused:%d, Rate:%d, delay:%.3f, Zoom:%d, Enabled:%d Forced:%d", status_data.fps, status_data.capture_fps,