summaryrefslogtreecommitdiffstats
path: root/video/out/gl_hwdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_hwdec.h')
-rw-r--r--video/out/gl_hwdec.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/video/out/gl_hwdec.h b/video/out/gl_hwdec.h
index ea10ac08f8..8d2f563d5e 100644
--- a/video/out/gl_hwdec.h
+++ b/video/out/gl_hwdec.h
@@ -10,7 +10,7 @@ struct gl_hwdec {
const struct gl_hwdec_driver *driver;
struct mp_log *log;
GL *gl;
- struct mp_hwdec_info *info;
+ struct mp_hwdec_ctx *hwctx;
// For free use by hwdec driver
void *priv;
// For working around the vdpau vs. vaapi mess.
@@ -50,8 +50,7 @@ struct gl_hwdec_driver {
};
struct gl_hwdec *gl_hwdec_load_api(struct mp_log *log, GL *gl,
- const char *api_name,
- struct mp_hwdec_info *info);
+ const char *api_name);
void gl_hwdec_uninit(struct gl_hwdec *hwdec);