1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 23:00:41 +00:00

build: make vo_sdl conflict with cocoa

These are inherently incompatible. As far as I'm aware, SDL must be used
from the main thread on OSX.

(Technically, this condition is wrong: the problem happens on OSX in
general, or more precisely, when SDL uses Cocoa. I didn't find the waf
OSX dependency name after 5 second of searching, so I'm just using
cocoa, without which mpv is useless on OSX anyway.)
This commit is contained in:
wm4 2019-10-25 22:02:16 +02:00
parent 9471077efd
commit e63091b3cc

View File

@ -576,6 +576,7 @@ video_output_features = [
'name': '--sdl2-video',
'desc': 'SDL2 video output',
'deps': 'sdl2',
'deps_neg': 'cocoa',
'func': check_true,
}, {
'name': '--cocoa',