From 2a9534871d51965b4b6b6fb688397096df963c89 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 2 Feb 2015 22:43:05 +0100 Subject: 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). --- video/vdpau.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video/vdpau.c') 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, -- cgit v1.2.3