We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 924e420 commit dbfebe8Copy full SHA for dbfebe8
funscript_editor/data/ffmpegstream.py
@@ -360,7 +360,7 @@ def run(self) -> None:
360
self.watchdog.trigger()
361
time.sleep(self.sleep_time)
362
wait_counter += 1
363
- if self.current_frame > 2 and wait_counter == 2500:
+ if self.current_frame - self.queue_size > 2 and wait_counter == 2500:
364
self.logger.error("FFmpeg Frame Buffer overrun!!!")
365
366
self.frame_buffer.put(frame)
0 commit comments