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
1 changed files with 1 additions and 0 deletions

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',