From 9b60398f4e2710e304eb4bbb51ed70e0b8523845 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 26 Sep 2017 19:13:26 +0200 Subject: video: remove old videotoolbox support Like as in previous commits, you need a very recent FFmpeg (probably git master). --- wscript | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index bb85dc3867..e7f09bb5b7 100644 --- a/wscript +++ b/wscript @@ -826,7 +826,7 @@ hwaccel_features = [ ' ? 1 : -1]', use='libav'), }, { - 'name': '--videotoolbox-hwaccel-new', + 'name': 'videotoolbox-hwaccel', 'desc': 'libavcodec videotoolbox hwaccel (new API)', 'deps': 'gl-cocoa || ios-gl', 'func': check_statement('libavcodec/version.h', @@ -834,20 +834,6 @@ hwaccel_features = [ ' LIBAVCODEC_VERSION_MICRO >= 100)' ' ? 1 : -1]', use='libav'), - }, { - 'name': '--videotoolbox-hwaccel-old', - 'desc': 'libavcodec videotoolbox hwaccel (old API)', - 'deps': '(gl-cocoa || ios-gl) && !videotoolbox-hwaccel-new', - 'func': compose_checks( - check_headers('VideoToolbox/VideoToolbox.h'), - check_statement('libavcodec/videotoolbox.h', - 'av_videotoolbox_alloc_context()', - use='libav')), - }, { - 'name': 'videotoolbox-hwaccel', - 'desc': 'libavcodec videotoolbox hwaccel', - 'deps': 'videotoolbox-hwaccel-new || videotoolbox-hwaccel-old', - 'func': check_true, }, { 'name': '--videotoolbox-gl', 'desc': 'Videotoolbox with OpenGL', -- cgit v1.2.3