summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/hwdec_osx.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/hwdec_osx.c')
-rw-r--r--video/out/opengl/hwdec_osx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/opengl/hwdec_osx.c b/video/out/opengl/hwdec_osx.c
index 53f9781bc9..78d01b3894 100644
--- a/video/out/opengl/hwdec_osx.c
+++ b/video/out/opengl/hwdec_osx.c
@@ -237,7 +237,8 @@ static void destroy(struct gl_hwdec *hw)
}
const struct gl_hwdec_driver gl_hwdec_videotoolbox = {
- .api_name = "videotoolbox",
+ .name = "videotoolbox",
+ .api = HWDEC_VIDEOTOOLBOX,
.imgfmt = IMGFMT_VIDEOTOOLBOX,
.create = create,
.reinit = reinit,