Skip to content

[BUG πŸͺ²] capture app cause duplicate frameΒ #189

@yuderbin1

Description

@yuderbin1

Describe the bug πŸ›
capture app cause duplicate frame

Expected behavior πŸ“

OS πŸ€–
win11

  • Version: [e.g. 11]
  • Build[e.g. 22H2]

Additional context βž•
capture = WindowsCapture(cursor_capture=False, draw_border=False, window_name='MapleStory')
total = 0
timespan = 0
@capture.event
def on_frame_arrived(frame: Frame, capture_control: InternalCaptureControl):
global timespan
if timespan == frame.timespan:
print('dup')
print(frame.timespan - timespan)
timespan = frame.timespan

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions