From 7101a70774dd88d8624b8cdda35129dd09d4dba2 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 16 Dec 2021 16:35:42 -0500 Subject: [PATCH] Switch to steady_clock --- src/zm_fifo_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_fifo_stream.cpp b/src/zm_fifo_stream.cpp index 51d88b663..0acb720d2 100644 --- a/src/zm_fifo_stream.cpp +++ b/src/zm_fifo_stream.cpp @@ -155,7 +155,7 @@ void FifoStream::runStream() { } while (!zm_terminate) { - now = std::chrono::system_clock::now(); + now = std::chrono::steady_clock::now(); checkCommandQueue(); if (stream_type == MJPEG) {