diff options
author | Jan Ekström <jeebjp@gmail.com> | 2016-02-26 00:46:15 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-03-25 21:35:59 +0100 |
commit | 5843392db5691403345074b24c9b3caae468d4c6 (patch) | |
tree | 04283e8aa78c181790c9ca058d7bc48cd342c01b /options | |
parent | 83b8d3f52c22f991227d824ddffd3b054d773d3a (diff) | |
download | mpv-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 'options')
-rw-r--r-- | options/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index ce43ee376a..de08b4ecdb 100644 --- a/options/options.c +++ b/options/options.c @@ -89,6 +89,7 @@ const struct m_opt_choice_alternatives mp_hwdec_names[] = { {"dxva2", HWDEC_DXVA2}, {"dxva2-copy", HWDEC_DXVA2_COPY}, {"rpi", HWDEC_RPI}, + {"mediacodec", HWDEC_MEDIACODEC}, {0} }; |