[MPlayer-dev-eng] [PATCH] printf --> mp_msg transition (codec-cfg.c)

Diego Biurrun diego at biurrun.de
Tue Oct 12 13:31:05 CEST 2004


The Wanderer writes:
> The attached patch does three related things. (I'm sure I'll stop
> enumerating things like this eventually.)
> 
> First, it changes all printf calls in codec-cfg.c which would be
> compiled into the object file to FIXME'd mp_msg calls. This leaves 45 or
> so unchanged, all of them used either when TESTING is defined or when
> CODECS2HTML is defined. The former is never the case on the user's end.
> The latter is the case when compiling the binary codec-cfg; in the
> current compilation system, the compile depends on being able to
> redirect stdout from that binary into codecs.conf.h. If leaving the
> printfs intact isn't the best way to handle this, then I'd be open to
> suggestions.
> 
> Second, it moves from the same file all translatable messages which are
> not left in printfs and are of appropriate MSGLs to help/help_mp-en.h.

I just saw the second thing in your patch.  Applied.

Diego




More information about the MPlayer-dev-eng mailing list