summaryrefslogtreecommitdiffstats
path: root/video/vaapi.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-12-20 00:29:22 +0100
committerMartin Herkt <lachs0r@srsfckn.biz>2017-12-21 19:31:36 +0100
commit2ce7face96c3c08582cd4aebf59aa99a9d741a7f (patch)
tree7218caa6983478377e01c3471c5453d7943d976f /video/vaapi.c
parent7e2252688b786eb51fb234141b264eaa7889ff90 (diff)
downloadmpv-2ce7face96c3c08582cd4aebf59aa99a9d741a7f.tar.bz2
mpv-2ce7face96c3c08582cd4aebf59aa99a9d741a7f.tar.xz
hwdec: remove unused fields
These were replaced by a different mechanism, but the old fields weren't removed.
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 c3327ce305..152b52f60c 100644
--- a/video/vaapi.c
+++ b/video/vaapi.c
@@ -176,8 +176,6 @@ struct mp_vaapi_ctx *va_initialize(VADisplay *display, struct mp_log *plog,
if (av_hwdevice_ctx_init(res->av_device_ref) < 0)
goto error;
- res->hwctx.emulated = va_guess_if_emulated(res);
-
return res;
error: