summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-09-06 14:01:37 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-09-06 14:10:22 +0200
commita1d3afb395a8cea5327e3155f32c3d808bd52c49 (patch)
tree564b7622a02995433c1f4aa2c697d22bef382617 /wscript
parenta6774d3a83481d77716409fa87963983e663dfe2 (diff)
downloadmpv-a1d3afb395a8cea5327e3155f32c3d808bd52c49.tar.bz2
mpv-a1d3afb395a8cea5327e3155f32c3d808bd52c49.tar.xz
vo_corevideo: remove this VO
This was kept in the codebase because it is slightly faster than --vo=opengl on really old Intel cards (from the GMA era). Time to kill it, and let it rest. Fixes #1061
Diffstat (limited to 'wscript')
-rw-r--r--wscript12
1 files changed, 3 insertions, 9 deletions
diff --git a/wscript b/wscript
index c00d08d2a2..7d52cdc043 100644
--- a/wscript
+++ b/wscript
@@ -612,13 +612,6 @@ video_output_features = [
'deps_any': [ 'gl-cocoa', 'gl-x11', 'gl-win32', 'gl-wayland' ],
'func': check_true
} , {
- 'name': '--corevideo',
- 'desc': 'CoreVideo',
- 'deps': [ 'gl', 'gl-cocoa' ],
- 'func': check_statement('QuartzCore/CoreVideo.h',
- 'CVOpenGLTextureCacheCreate(0, 0, 0, 0, 0, 0)',
- framework_name=['QuartzCore'])
- } , {
'name': '--vdpau',
'desc': 'VDPAU acceleration',
'deps': [ 'x11' ],
@@ -679,7 +672,6 @@ hwaccel_features = [
} , {
'name': '--vda-hwaccel',
'desc': 'libavcodec VDA hwaccel',
- 'deps': [ 'corevideo' ],
'func': compose_checks(
check_headers('VideoDecodeAcceleration/VDADecoder.h'),
check_statement('libavcodec/vda.h',
@@ -690,7 +682,9 @@ hwaccel_features = [
'name': '--vda-gl',
'desc': 'VDA with OpenGL',
'deps': [ 'gl-cocoa', 'vda-hwaccel' ],
- 'func': check_true
+ # apparently a bug in waf causes msg= to be needed when passing only
+ # framework= (it probably fails to infer it)
+ 'func': check_cc(msg='QuartzCore', framework='QuartzCore')
}, {
'name': '--vdpau-hwaccel',
'desc': 'libavcodec VDPAU hwaccel',