Skip to content

va: fix handling when all wayland backends fail#788

Merged
XinfengZhang merged 1 commit intointel:masterfrom
tleydxdy:master
Jan 22, 2024
Merged

va: fix handling when all wayland backends fail#788
XinfengZhang merged 1 commit intointel:masterfrom
tleydxdy:master

Conversation

@tleydxdy
Copy link
Copy Markdown

@tleydxdy tleydxdy commented Jan 7, 2024

when all backend failed vaGetDisplayWl will just return a context that was already destroyed. This leads to crashes if downstream tries to use the context.

I'm not familiar with the unit test infra but it may make sense to add a unit test here..

when all backend failed vaGetDisplayWl will just return a context that
was already destroyed. This leads to crashes if downstream tries to use
the context.
@tleydxdy
Copy link
Copy Markdown
Author

oops I didn't mean to update this pr, just picking that commit to try it out myself...

@emersion
Copy link
Copy Markdown
Contributor

Is there anything holding off this patch?

@XinfengZhang XinfengZhang merged commit b8c7eed into intel:master Jan 22, 2024
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.

3 participants