Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
videoio(ffmpeg): handle frame reallocation when resolution or type changes#28212
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
dheeraj25406 commentedDec 17, 2025
Looks like Windows runner infrastructure failure, not related to code changes. Linux/macOS builds pass. |
f331fb8 to5dc3612Compareasmorkalov commentedDec 18, 2025
The patch does not touch CUDA at all. |
dheeraj25406 commentedDec 18, 2025
Thanks for the review. Agreed, the title and description were misleading. |
dheeraj25406 commentedDec 18, 2025
Thanks for the review and clarification. |
What does this PR do?
On Linux, when VIDEO_ACCELERATION_ANY is requested, OpenCV currently tries VAAPI first.
This PR adjusts the default order to try CUDA (NVDEC) before VAAPI when available.
Why?
Behavior
Related issue
Fixes#28207 (cannot use h264_cuvid decoder from Java API)
Testing