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

[Bug]: mjpeg vaapi encoder checks against 0 instead of INVALID #300

Open
kkartaltepe opened this issue Sep 21, 2023 · 0 comments
Open

[Bug]: mjpeg vaapi encoder checks against 0 instead of INVALID #300

kkartaltepe opened this issue Sep 21, 2023 · 0 comments
Assignees

Comments

@kkartaltepe
Copy link

Which component impacted?

Not sure

Is it regression? Good in old configuration?

None

What happened?

https://github.com/oneapi-src/oneVPL-intel-gpu/blob/main/_studio/mfx_lib/encode_hw/mjpeg/src/mfx_mjpeg_encode_vaapi.cpp#L531

Incorrectly checks against 0 instead of invalid, this trips debug asserts in the vaapi driver.

What's the usage scenario when you are seeing the problem?

Others

What impacted?

Run onVPL with debug asserts enabled in the vaapi driver and try and create a session.

Debug Information

You can review your own h264 implementation for the proper checks.

Do you want to contribute a patch to fix the issue?

No.

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

No branches or pull requests

2 participants