summaryrefslogtreecommitdiffstats
path: root/video/vaapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/vaapi.c')
-rw-r--r--video/vaapi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/vaapi.c b/video/vaapi.c
index 9a5820a98c..f8d0faba34 100644
--- a/video/vaapi.c
+++ b/video/vaapi.c
@@ -128,8 +128,7 @@ struct mp_vaapi_ctx *va_initialize(VADisplay *display, struct mp_log *plog,
.display = display,
.hwctx = {
.type = HWDEC_VAAPI,
- .priv = res,
- .vaapi_ctx = res,
+ .ctx = res,
.download_image = ctx_download_image,
},
};