1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-02 04:42:10 +00:00

build: fix conditions for building gl_hwdec_vda.c

This contains code for the VT and VDA case, thus must be build if at
least 1 of them is enabled.
This commit is contained in:
wm4 2015-08-05 18:14:32 +02:00
parent 31b5a211f4
commit 0cd70b2d62

View File

@ -744,7 +744,7 @@ hwaccel_features = [
} , {
'name': 'videotoolbox-vda-gl',
'desc': 'Videotoolbox or VDA with OpenGL',
'deps': [ 'videotoolbox-gl', 'vda-gl' ],
'deps_any': [ 'videotoolbox-gl', 'vda-gl' ],
'func': check_true
}, {
'name': '--vdpau-hwaccel',