Switch to steady_clock
This commit is contained in:
parent
60d2186ff4
commit
7101a70774
|
@ -155,7 +155,7 @@ void FifoStream::runStream() {
|
||||||
}
|
}
|
||||||
|
|
||||||
while (!zm_terminate) {
|
while (!zm_terminate) {
|
||||||
now = std::chrono::system_clock::now();
|
now = std::chrono::steady_clock::now();
|
||||||
checkCommandQueue();
|
checkCommandQueue();
|
||||||
|
|
||||||
if (stream_type == MJPEG) {
|
if (stream_type == MJPEG) {
|
||||||
|
|
Loading…
Reference in New Issue