summaryrefslogtreecommitdiffstats
path: root/video/decode
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-02 22:43:05 +0100
committerwm4 <wm4@nowhere>2015-02-02 22:43:13 +0100
commit2a9534871d51965b4b6b6fb688397096df963c89 (patch)
treea5a95ffd0c1903d57b2966d1ce046b2dfd640f64 /video/decode
parentc07e046bfa5a736ddf6c185b48cd1c6929840186 (diff)
downloadmpv-2a9534871d51965b4b6b6fb688397096df963c89.tar.bz2
mpv-2a9534871d51965b4b6b6fb688397096df963c89.tar.xz
command: add property returning detected hwdec API
This is somewhat imperfect, because detection of hw decoding APIs is mostly done on demand, and often avoided if not necessary. (For example, we know very well that there are no hw decoders for certain codecs.) This also requires every hwdec backend to identify itself (see hwdec.h changes).
Diffstat (limited to 'video/decode')
-rw-r--r--video/decode/lavc.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h
index c14fc47abe..85cf49abab 100644
--- a/video/decode/lavc.h
+++ b/video/decode/lavc.h
@@ -9,18 +9,6 @@
#include "video/mp_image.h"
#include "video/hwdec.h"
-// keep in sync with --hwdec option
-enum hwdec_type {
- HWDEC_AUTO = -1,
- HWDEC_NONE = 0,
- HWDEC_VDPAU = 1,
- HWDEC_VDA = 2,
- HWDEC_CRYSTALHD = 3,
- HWDEC_VAAPI = 4,
- HWDEC_VAAPI_COPY = 5,
- HWDEC_DXVA2_COPY = 6,
-};
-
typedef struct lavc_ctx {
struct mp_log *log;
struct MPOpts *opts;