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 isValid() for VAAPI frame #141

Merged
merged 2 commits into from
Nov 13, 2024
Merged

fix isValid() for VAAPI frame #141

merged 2 commits into from
Nov 13, 2024

Conversation

lukasz-misek
Copy link
Contributor

fix frame isValid() method for frames returned from VAAPI decoder.
In this case m_raw->data[0] and m_raw->linesize[0] are both null and m_raw[3] contains vaapi surface id (valid when > 0).

src/frame.h Show resolved Hide resolved
@h4tr3d h4tr3d merged commit 69b6bd7 into h4tr3d:master Nov 13, 2024
7 checks passed
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