summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/hwdec_vaegl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-12-01 05:09:05 +0100
committerwm4 <wm4@nowhere>2017-12-01 05:57:41 +0100
commit7e87feaf15d5ab99473d13856bb247a0ed10e521 (patch)
tree607b58403ecb07dfbc1c77ea3c6cefc95ce2699a /video/out/opengl/hwdec_vaegl.c
parent91586c35924ff8bd54eab549e7326d6cf2868b46 (diff)
downloadmpv-7e87feaf15d5ab99473d13856bb247a0ed10e521.tar.bz2
mpv-7e87feaf15d5ab99473d13856bb247a0ed10e521.tar.xz
vo_gpu: hwdec: remove redundant fields
The testing_only field is not referenced anymore with vaglx removed and the previous commit dropping all uses. The ra_hwdec_driver.api field became unused with the previous commit, but all hwdec interop drivers still initialized it. Since this touches highly OS-specific code, build regressions are possible (plus the previous commit might break hw decoding at runtime). At least hwdec_cuda.c still used the .api field, other than initializing it.
Diffstat (limited to 'video/out/opengl/hwdec_vaegl.c')
-rw-r--r--video/out/opengl/hwdec_vaegl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/opengl/hwdec_vaegl.c b/video/out/opengl/hwdec_vaegl.c
index 2e21bc512e..597b81a2b5 100644
--- a/video/out/opengl/hwdec_vaegl.c
+++ b/video/out/opengl/hwdec_vaegl.c
@@ -544,7 +544,6 @@ done:
const struct ra_hwdec_driver ra_hwdec_vaegl = {
.name = "vaapi-egl",
.priv_size = sizeof(struct priv_owner),
- .api = HWDEC_VAAPI,
.imgfmts = {IMGFMT_VAAPI, 0},
.init = init,
.uninit = uninit,