From 258f690a897a889a5d146a907078e2fb82a9eb1e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 1 Nov 2024 09:18:27 +0100 Subject: Update issues link --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index a628599..b8c8f71 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3823,7 +3823,7 @@ int main(int argc, char **argv) { const double frame_time = frame_end - frame_start; const bool frame_deadline_missed = frame_time > target_fps; - if(time_to_next_frame > 0.0 && !frame_deadline_missed && frame_captured) + if(time_to_next_frame >= 0.0 && !frame_deadline_missed && frame_captured) av_usleep(time_to_next_frame * 1000.0 * 1000.0); else { if(paused) -- cgit v1.2.3