summaryrefslogtreecommitdiffstats
path: root/video/hwdec.h
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2016-02-26 00:46:15 +0200
committerwm4 <wm4@nowhere>2016-03-25 21:35:59 +0100
commit5843392db5691403345074b24c9b3caae468d4c6 (patch)
tree04283e8aa78c181790c9ca058d7bc48cd342c01b /video/hwdec.h
parent83b8d3f52c22f991227d824ddffd3b054d773d3a (diff)
downloadmpv-5843392db5691403345074b24c9b3caae468d4c6.tar.bz2
mpv-5843392db5691403345074b24c9b3caae468d4c6.tar.xz
Add a mediacodec decoder hwdec wrapper
Does the same thing as the rpi one - makes fallback possible by pretending that h264_mediacodec is a hwdec.
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 1588901442..cfbb2eaf29 100644
--- a/video/hwdec.h
+++ b/video/hwdec.h
@@ -16,6 +16,7 @@ enum hwdec_type {
HWDEC_DXVA2 = 6,
HWDEC_DXVA2_COPY = 7,
HWDEC_RPI = 8,
+ HWDEC_MEDIACODEC = 9,
};
// hwdec_type names (options.c)