From d16ba1f7f6f95f4f2116ae75e939a732592334d0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 24 Jan 2017 08:22:10 +0100 Subject: 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. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index c501276406..a7ec0a9c3d 100644 --- a/wscript +++ b/wscript @@ -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) ||' -- cgit v1.2.3