diff options
author | wm4 <wm4@nowhere> | 2016-05-11 16:18:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-11 16:20:13 +0200 |
commit | 70b35612704a992dac45856e069608216f41ea89 (patch) | |
tree | 6ed76d1cfc9f4dad857b0c8d56c7fd6db1bb24fc /video/decode/d3d11va.c | |
parent | 2ec26b8396c8d44def148351ee370fde4b950cbf (diff) | |
download | mpv-70b35612704a992dac45856e069608216f41ea89.tar.bz2 mpv-70b35612704a992dac45856e069608216f41ea89.tar.xz |
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.
Diffstat (limited to 'video/decode/d3d11va.c')
-rw-r--r-- | video/decode/d3d11va.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |