Skip to content

Commit

Permalink
Init last_fps_update in stream constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Oct 22, 2024
1 parent 6f8ac29 commit 1b08c6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zm_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 } };
Expand Down

0 comments on commit 1b08c6d

Please sign in to comment.