From 70b35612704a992dac45856e069608216f41ea89 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 11 May 2016 16:18:58 +0200 Subject: video: add --hwdec=auto-copy mode This uses the normal autoprobing rules like "auto", but rejects anything that isn't flagged as copying data back to system memory. The chunk in command.c was dead code, so remove it instead of updating it. --- video/decode/d3d11va.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video/decode/d3d11va.c') diff --git a/video/decode/d3d11va.c b/video/decode/d3d11va.c index 9e300b1620..d631fff479 100644 --- a/video/decode/d3d11va.c +++ b/video/decode/d3d11va.c @@ -583,6 +583,7 @@ const struct vd_lavc_hwdec mp_vd_lavc_d3d11va = { const struct vd_lavc_hwdec mp_vd_lavc_d3d11va_copy = { .type = HWDEC_D3D11VA_COPY, + .copying = true, .image_format = IMGFMT_D3D11VA, .probe = d3d11va_probe, .init = d3d11va_init, -- cgit v1.2.3