summaryrefslogtreecommitdiffstats
path: root/video/hwdec.h
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/hwdec.h
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/hwdec.h')
-rw-r--r--video/hwdec.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/hwdec.h b/video/hwdec.h
index 80d5cfcecc..1022654d85 100644
--- a/video/hwdec.h
+++ b/video/hwdec.h
@@ -15,12 +15,6 @@ struct mp_hwdec_ctx {
// List of IMGFMT_s, terminated with 0. NULL if N/A.
int *supported_formats;
-
- // Hint to generic code: it's using a wrapper API
- bool emulated;
-
- // Optional. Do not set for VO-bound devices.
- void (*destroy)(struct mp_hwdec_ctx *ctx);
};
// Used to communicate hardware decoder device handles from VO to video decoder.