diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-01 09:18:27 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-01 09:18:27 +0100 |
commit | 258f690a897a889a5d146a907078e2fb82a9eb1e (patch) | |
tree | a07afeec7f06200e097288d764666a4d5e8c61ef /src | |
parent | ea139ab9bb1b0f155b0750147327eddcf55feb86 (diff) |
Update issues link
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |