[MPlayer-dev-eng] [RFC] configure error out if both OpenGL and corevideo

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Sep 1 11:38:56 CEST 2009


On Tue, Sep 01, 2009 at 09:32:28AM +0000, Carl Eugen Hoyos wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> 
> > +if test "$_corevideo" = yes -a "$_gl" = yes; then
> > +  die "Both OpenGL and corevideo enabled, this will crash. Use e.g. 
> --disable-gl"
> 
> Imo, this is not how it's done in MPlayer, it should be similar to r21925:
> 
> test "$_corevideo" = auto && test "$_gl" = yes && _corevideo=no &&
> _res_comment="disabled by OpenGL
> (The user should have the possibility to enable both, if he wishes to do so.)

In principle maybe yes, except for
a) They just can't work both. Simply truly impossible with the current
code (and it is possible and easy to hack configure).
b) the end result that corevideo is by default disabled is not at all
desirable.



More information about the MPlayer-dev-eng mailing list