Skip to content
Snippets Groups Projects
Commit 88d67714 authored by Simon McVittie's avatar Simon McVittie
Browse files

check-va-api: Create context before trying to use it


In principle the context is a required parameter for vaCreateBuffer(),
but in practice Mesa doesn't do anything with it, not even a validity
check for it not being VA_INVALID_ID. Non-Mesa drivers, like the one
from Intel and the unofficial one for Nvidia hardware via nvdec and cuda,
do check for this.

Thanks: Emil Velikov
Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 00260703
No related branches found
No related tags found
1 merge request!587check-va-api: Don't claim to have provided a reference frame
Pipeline #59567 passed