mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-30 21:21:39 +02:00
st/va: fix build with old libva
Closes: #3682
Fixes: 0eccd158
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7297>
This commit is contained in:
parent
638ebdea78
commit
5f686c308a
1 changed files with 4 additions and 0 deletions
|
|
@ -46,6 +46,10 @@
|
|||
#include "util/u_dynarray.h"
|
||||
#include "os/os_thread.h"
|
||||
|
||||
#ifndef VA_RT_FORMAT_YUV420_10
|
||||
#define VA_RT_FORMAT_YUV420_10 VA_RT_FORMAT_YUV420_10BPP
|
||||
#endif
|
||||
|
||||
#define VL_VA_DRIVER(ctx) ((vlVaDriver *)ctx->pDriverData)
|
||||
#define VL_VA_PSCREEN(ctx) (VL_VA_DRIVER(ctx)->vscreen->pscreen)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue