summaryrefslogtreecommitdiffstats
path: root/video/vaapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/vaapi.c')
-rw-r--r--video/vaapi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/vaapi.c b/video/vaapi.c
index 00052cec39..c3327ce305 100644
--- a/video/vaapi.c
+++ b/video/vaapi.c
@@ -139,8 +139,6 @@ struct mp_vaapi_ctx *va_initialize(VADisplay *display, struct mp_log *plog,
.display = display,
.av_device_ref = avref,
.hwctx = {
- .type = HWDEC_VAAPI,
- .ctx = res,
.av_device_ref = avref,
},
};