Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix video_capture example fails enumeration when 8FPS #1276

Merged
merged 1 commit into from
Jan 17, 2022

Conversation

kkitayam
Copy link
Collaborator

Describe the PR
If FRAME_RATE was changed to 8, enumeration process had been failed. FRAME_RATE is defined followings.

See also: #1118 (comment)

Additional context
I had confirmed this patch on Raspberry Pi Pico.

dwMaxFrameInterval minus dwMinFrameInterval should be evenly divisible by
dwFrameIntervalStep.
Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superb !! thank you for the fix. sorry for late response, I have been busy and still catching up with PRs :)

@hathach hathach merged commit 6972a4f into hathach:master Jan 17, 2022
@kkitayam kkitayam deleted the fix_video_capture_frame_interval branch January 21, 2022 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants