diff options
author | wm4 <wm4@nowhere> | 2017-09-26 18:12:19 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-09-26 18:58:45 +0200 |
commit | ae7db6503b6fc6fce78d20e8afc77a5a7a0f0b29 (patch) | |
tree | e00e782c9accc3745fec34ecd0d41106e0fa16fe /video/vaapi.c | |
parent | 5d57e9b1be2d0a60247a3d170b93a81d2c775012 (diff) | |
download | mpv-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/vaapi.c')
-rw-r--r-- | video/vaapi.c | 4 |
1 files changed, 1 insertions, 3 deletions
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); |