[MPlayer-dev-eng] [RFC] configure error out if both OpenGL and corevideo
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Sep 1 10:55:53 CEST 2009
Hello,
since the corevideo framework and libGL both use functions with the same
names (the OpenGL stuff) but different implementations, both together
will necessarily cause at least one to crash.
So I suggest this change to configure:
Index: configure
===================================================================
--- configure (revision 29604)
+++ configure (working copy)
@@ -4866,6 +4866,9 @@
fi #if darwin
+if test "$_corevideo" = yes -a "$_gl" = yes; then
+ die "Both OpenGL and corevideo enabled, this will crash. Use e.g. --disable-gl"
+fi
echocheck "PNG support"
if test "$_png" = auto ; then
More information about the MPlayer-dev-eng
mailing list