diff options
author | wm4 <wm4@nowhere> | 2017-01-24 08:22:10 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-24 08:22:10 +0100 |
commit | d16ba1f7f6f95f4f2116ae75e939a732592334d0 (patch) | |
tree | c825d9369af3e76124f54899b2d43431a1d9e8b8 /wscript | |
parent | c06fd19d8f031f15eb2001a112dd49c8c2b0e464 (diff) | |
download | mpv-d16ba1f7f6f95f4f2116ae75e939a732592334d0.tar.bz2 mpv-d16ba1f7f6f95f4f2116ae75e939a732592334d0.tar.xz |
build: new vaapi hwaccel API does not use av_image_copy_uc_from()
Not even Libav does. Whoops. The developer who wrote the FFmpeg code for
this said he could not find any improvements when using the "GPU memcpy"
; instead, it made it actually slower on some hardware.
It's not clear to what extent the "GPU memcpy" was needed for vaapi, but
hopefully not very much (see #2317).
This commit enables use of the new vaapi API by default with FFmpeg.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -824,7 +824,7 @@ hwaccel_features = [ }, { 'name': '--vaapi-hwaccel-new', 'desc': 'libavcodec VAAPI hwaccel (new)', - 'deps': [ 'vaapi-hwaccel', 'avutil-imgcpy-uc' ], + 'deps': [ 'vaapi-hwaccel' ], 'func': check_statement('libavcodec/version.h', 'int x[(LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 26, 0) && ' ' LIBAVCODEC_VERSION_MICRO < 100) ||' |