mirror of
https://github.com/mpv-player/mpv
synced 2024-12-13 18:36:09 +00:00
Revert previous two commits, the CoreVideo vo needs both OpenGL and Cocoa.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29238 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
aa169c6fe3
commit
480a9e563c
4
configure
vendored
4
configure
vendored
@ -3858,11 +3858,11 @@ if test "$_corevideo" = auto ; then
|
|||||||
int main(void) { return 0; }
|
int main(void) { return 0; }
|
||||||
EOF
|
EOF
|
||||||
_corevideo=no
|
_corevideo=no
|
||||||
cc_check -framework Carbon -framework QuartzCore && _corevideo=yes
|
cc_check -framework Carbon -framework QuartzCore -framework OpenGL && _corevideo=yes
|
||||||
fi
|
fi
|
||||||
if test "$_corevideo" = yes ; then
|
if test "$_corevideo" = yes ; then
|
||||||
_vomodules="macosx $_vomodules"
|
_vomodules="macosx $_vomodules"
|
||||||
extra_ldflags="$extra_ldflags -framework Carbon -framework QuartzCore"
|
extra_ldflags="$extra_ldflags -framework Cocoa -framework QuartzCore -framework OpenGL"
|
||||||
def_corevideo='#define CONFIG_COREVIDEO 1'
|
def_corevideo='#define CONFIG_COREVIDEO 1'
|
||||||
else
|
else
|
||||||
_novomodules="macosx $_novomodules"
|
_novomodules="macosx $_novomodules"
|
||||||
|
Loading…
Reference in New Issue
Block a user