Init last_fps_update in stream constructor

pull/3195/merge
Isaac Connor 2024-10-22 18:32:31 -04:00
parent 6f8ac29aa9
commit 1b08c6d00f
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ class StreamBase {
memset(&rem_sock_path, 0, sizeof(rem_sock_path));
memset(&rem_addr, 0, sizeof(rem_addr));
memset(&sock_path_lock, 0, sizeof(sock_path_lock));
last_fps_update = std::chrono::steady_clock::now();
vid_stream = nullptr;
msg = { 0, { 0 } };