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

Actually use values supplied by -s in webcam.go #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gjedeer
Copy link

@gjedeer gjedeer commented Jan 29, 2021

Before this patch:

./webcam -s 640x480
Available formats:
YUYV 4:2:2
Motion-JPEG
Supported frame sizes for format YUYV 4:2:2
320x240
352x288
424x240
640x360
640x480
800x448
960x540
1280x720
Requesting YUYV 4:2:2 1280x720
Resulting image format: YUYV 4:2:2 1280x720

After this patch:

./webcam -s 640x480
(...)
Resulting image format: YUYV 4:2:2 640x480

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.

1 participant