From 1dd7b7bddc694b1c018b74bccaebcc98d9144ee4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 28 Sep 2015 21:55:23 +0200 Subject: video: remove VDA support VideoToolbox is preferred. Now that FFmpeg released 2.8, there's no reason to support VDA anymore. In fact, we had a bug that made VDA not useable with older FFmpeg versions in some newer mpv releases. VideoToolbox is supported even on slightly older OSX versions, and if not, you still can run mpv without hw decoding. --- wscript | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index c6b1857766..f9f21c2be3 100644 --- a/wscript +++ b/wscript @@ -728,27 +728,6 @@ hwaccel_features = [ 'desc': 'libavcodec VAAPI hwaccel', 'deps': [ 'vaapi' ], 'func': check_headers('libavcodec/vaapi.h', use='libav'), - } , { - 'name': '--vda-hwaccel', - 'desc': 'libavcodec VDA hwaccel', - 'func': compose_checks( - check_headers('VideoDecodeAcceleration/VDADecoder.h'), - check_statement('libavcodec/vda.h', - 'av_vda_alloc_context()', - framework='IOSurface', - use='libav')), - } , { - 'name': 'vda-default-init2', - 'desc': 'libavcodec VDA hwaccel (configurable AVVDAContext)', - 'deps': [ 'vda-hwaccel' ], - 'func': check_statement('libavcodec/vda.h', - 'av_vda_default_init2(NULL, NULL)', - use='libav'), - }, { - 'name': '--vda-gl', - 'desc': 'VDA with OpenGL', - 'deps': [ 'gl-cocoa', 'vda-hwaccel' ], - 'func': check_true }, { 'name': '--videotoolbox-hwaccel', 'desc': 'libavcodec videotoolbox hwaccel', @@ -764,11 +743,6 @@ hwaccel_features = [ 'deps': [ 'gl-cocoa', 'videotoolbox-hwaccel' ], 'func': check_true } , { - 'name': 'videotoolbox-vda-gl', - 'desc': 'Videotoolbox or VDA with OpenGL', - 'deps_any': [ 'videotoolbox-gl', 'vda-gl' ], - 'func': check_true - }, { 'name': '--vdpau-hwaccel', 'desc': 'libavcodec VDPAU hwaccel', 'deps': [ 'vdpau' ], -- cgit v1.2.3