From ae7db6503b6fc6fce78d20e8afc77a5a7a0f0b29 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 26 Sep 2017 18:12:19 +0200 Subject: 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.) --- video/vaapi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'video/vaapi.c') diff --git a/video/vaapi.c b/video/vaapi.c index 99a6272384..5f22dbb28a 100644 --- a/video/vaapi.c +++ b/video/vaapi.c @@ -508,9 +508,7 @@ static struct mp_image *try_download(struct va_surface *p, struct mp_image *src, mp_image_set_size(&tmp, src->w, src->h); // copy only visible part dst = mp_image_pool_get(pool, tmp.imgfmt, tmp.w, tmp.h); if (dst) { - mp_check_gpu_memcpy(p->ctx->log, &p->ctx->gpu_memcpy_message); - - mp_image_copy_gpu(dst, &tmp); + mp_image_copy(dst, &tmp); mp_image_copy_attributes(dst, src); } va_image_unmap(p->ctx, image); -- cgit v1.2.3