summaryrefslogtreecommitdiffstats
path: root/video/fmt-conversion.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-09-26 18:12:19 +0200
committerwm4 <wm4@nowhere>2017-09-26 18:58:45 +0200
commitae7db6503b6fc6fce78d20e8afc77a5a7a0f0b29 (patch)
treee00e782c9accc3745fec34ecd0d41106e0fa16fe /video/fmt-conversion.c
parent5d57e9b1be2d0a60247a3d170b93a81d2c775012 (diff)
downloadmpv-ae7db6503b6fc6fce78d20e8afc77a5a7a0f0b29.tar.bz2
mpv-ae7db6503b6fc6fce78d20e8afc77a5a7a0f0b29.tar.xz
video: drop old D3D11/DXVA2 support
Now you need FFmpeg git, or something. This also gets rid of the last real use of gpu_memcpy(). libavutil does that itself. (vaapi.c still used it, but it was essentially unused, because the code path isn't really in use anymore. It wasn't even included due to the d3d-hwaccel dependency in wscript.)
Diffstat (limited to 'video/fmt-conversion.c')
-rw-r--r--video/fmt-conversion.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c
index 6d14c28c7a..3b941d5fb7 100644
--- a/video/fmt-conversion.c
+++ b/video/fmt-conversion.c
@@ -64,12 +64,8 @@ static const struct {
{IMGFMT_VAAPI, AV_PIX_FMT_VAAPI_VLD},
{IMGFMT_DXVA2, AV_PIX_FMT_DXVA2_VLD},
#if HAVE_D3D_HWACCEL
-#if HAVE_D3D_HWACCEL_NEW
{IMGFMT_D3D11VA, AV_PIX_FMT_D3D11},
{IMGFMT_D3D11NV12, AV_PIX_FMT_D3D11},
-#else
- {IMGFMT_D3D11VA, AV_PIX_FMT_D3D11VA_VLD},
-#endif
#endif
{IMGFMT_MMAL, AV_PIX_FMT_MMAL},
#if HAVE_CUDA_HWACCEL