[MPlayer-dev-eng] [PATCH] GGI driver update

Christoph Egger Christoph_Egger at gmx.de
Tue May 10 19:38:29 CEST 2005


> On Sat, May 07, 2005 at 06:38:00PM +0200, Christoph Egger wrote:
> > 
> > I've tried to implement the --enable and --disable options.
> > New patches attached.
> 
> Here comes the review..
> 
> > +  --enable-ggiwmh        build with GGI libggiwmh extension (implies
> --enable-ggi) [autodetect]
> 
> This line in the output is far too long, please don't exceed 80
> characters.  Just remove the (...), we never mention implicit
> dependencies in the --help output anyway.

done.

> 
> > +echocheck "GGI extension: libggiwmh"
> > +_ggiwmh=no
> > +_def_ggiwmh='#undef HAVE_GGIWMH'
> > +if test "$_ggi" = yes ; then
> 
> You're not implementing correct semantics there.  You are
> unconditionally doing autodetection and overriding the
> --(dis|en)able-ggiwmh options you introduced above.  Check for the state
> of _ggiwmh.
> 

done.

> > +#ifdef HAVE_GGIWMH
> > +    if (ggiWmhInit() < 0) {
> > +	mp_msg(MSGT_VO, MSGL_FATAL, "[ggi] unable to initialize libggiwmh\n");
> > +	return(-1);
> 
> You're messing up the indentation here by mixing spaces and tabs, please
> don't.

fixed.

New patches attached.
I hope, my patches are ok this time.

-- 
Greetings,

Christoph

+++ Neu: Echte DSL-Flatrates von GMX - Surfen ohne Limits +++
Always online ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.diff
Type: application/octet-stream
Size: 1856 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050510/736f5086/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vo_ggi.diff
Type: application/octet-stream
Size: 5210 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050510/736f5086/attachment-0001.obj>


More information about the MPlayer-dev-eng mailing list