diff options
author | wm4 <wm4@nowhere> | 2015-02-02 22:43:05 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-02 22:43:13 +0100 |
commit | 2a9534871d51965b4b6b6fb688397096df963c89 (patch) | |
tree | a5a95ffd0c1903d57b2966d1ce046b2dfd640f64 /video/vdpau.c | |
parent | c07e046bfa5a736ddf6c185b48cd1c6929840186 (diff) | |
download | mpv-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/vdpau.c')
-rw-r--r-- | video/vdpau.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/vdpau.c b/video/vdpau.c index e1daf327af..b55152b146 100644 --- a/video/vdpau.c +++ b/video/vdpau.c @@ -371,6 +371,7 @@ struct mp_vdpau_ctx *mp_vdpau_create_device_x11(struct mp_log *log, Display *x11 .x11 = x11, .preemption_counter = 1, .hwctx = { + .type = HWDEC_VDPAU, .priv = ctx, .vdpau_ctx = ctx, .download_image = download_image, |