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

pixel format not correctly determined for cuda (NVENC/NVDEC) #39

Closed
bmegli opened this issue Mar 9, 2023 · 0 comments · Fixed by #40
Closed

pixel format not correctly determined for cuda (NVENC/NVDEC) #39

bmegli opened this issue Mar 9, 2023 · 0 comments · Fixed by #40

Comments

@bmegli
Copy link
Owner

bmegli commented Mar 9, 2023

else if(type == AV_PIX_FMT_CUDA);

Typo in test condition (should be hardware type not pixel type).

This still worked by falling back to defaults.

bmegli added a commit that referenced this issue Mar 13, 2023
- generalize code for hardware/software/encoder wrappers
- use supplied software pixel format in non-hardware path
- minimal documentation for generalized implementation

Closes #39
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 a pull request may close this issue.

1 participant