summaryrefslogtreecommitdiffstats
path: root/video/hwdec.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-04 16:55:26 +0200
committerwm4 <wm4@nowhere>2016-05-04 16:55:26 +0200
commit833375f88d0392cac49b30ee3a4704fbab58e814 (patch)
tree225c7d03869f633524d80c0eba3ecd698c1c1d63 /video/hwdec.h
parent86b5f1463c9084d83fbfb60bcd15bdb67795bb25 (diff)
downloadmpv-833375f88d0392cac49b30ee3a4704fbab58e814.tar.bz2
mpv-833375f88d0392cac49b30ee3a4704fbab58e814.tar.xz
command: change some hwdec properties
Introduce hwdec-current and hwdec-interop properties. Deprecate hwdec-detected, which never made a lot of sense, and which is replaced by the new properties. hwdec-active also becomes useless, as hwdec-current is a superset, so it's deprecated too (for now).
Diffstat (limited to 'video/hwdec.h')
-rw-r--r--video/hwdec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/hwdec.h b/video/hwdec.h
index 377f6779d1..94667774e7 100644
--- a/video/hwdec.h
+++ b/video/hwdec.h
@@ -26,6 +26,7 @@ extern const struct m_opt_choice_alternatives mp_hwdec_names[];
struct mp_hwdec_ctx {
enum hwdec_type type;
+ const char *driver_name; // NULL if unknown/not loaded
void *priv; // for free use by hwdec implementation