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

va: Re-add drm_state and fd checks to VA_DRM_GetDriverNames #799

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

sivileri
Copy link
Contributor

Re-adding drm_state null and checks to VA_DRM_GetDriverNames, apps like gstreamer will crash on WSL without this check, which existed before in VA_DRM_GetDriverName before but was removed in commit
f09781156b24c571c187250f6d0f5eeff042528b.

After re-adding check gstreamer works fine again and checked vainfo/ffmpeg also work fine.

@dvrogozh @XinfengZhang could you please help review/merge ?

Copy link
Contributor

@dvrogozh dvrogozh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@sivileri
Copy link
Contributor Author

@XinfengZhang could you please merge this PR ? (Don't have permissions myself), thanks! :)

Apps like gstreamer will crash on WSL without this check, which
existed before but was removed in commit f097811

Signed-off-by: Sil Vilerino <sivileri@microsoft.com>
@dvrogozh dvrogozh merged commit eeebe59 into intel:master Feb 15, 2024
14 checks passed
@sivileri sivileri deleted the add_drm_state_check branch March 27, 2024 12:54
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