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:
Simon McVittie <smcv@collabora.com>
parent
00260703
No related branches found
No related tags found
Please register or sign in to comment