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 3873ef5 commit b3b0baeCopy full SHA for b3b0bae
funscript_editor/data/ffmpegstream.py
@@ -365,7 +365,13 @@ def run(self) -> None:
365
if self.current_frame - self.queue_size > 2 and wait_counter == 2500:
366
self.logger.error("FFmpeg Frame Buffer overrun!!!")
367
368
- self.frame_buffer.put(frame)
+ if 'zoom' in self.config.keys():
369
+ self.frame_buffer.put(frame[
370
+ int(self.config['zoom'][1]):int(self.config['zoom'][1]+self.config['zoom'][3]),
371
+ int(self.config['zoom'][0]):int(self.config['zoom'][0]+self.config['zoom'][2])
372
+ ])
373
+ else:
374
+ self.frame_buffer.put(frame)
375
self.current_frame += 1
376
377
self.stopped = True
0 commit comments