[MPlayer-dev-eng] [PATCH] Extra messages in slave mode

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Dec 5 17:29:06 CET 2005


Hi,
On Mon, Dec 05, 2005 at 01:05:46PM +0100, Andras Mohari wrote:
> -    if(filename) mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_Playing, filename);
> +    if(filename) {
> +      mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_Playing, filename);
> +      if(slave_mode) mp_msg(MSGT_GLOBAL,MSGL_INFO, "SLAVE_FILE %s\n", filename);
> +    }

How about giving all those slave mode messages a spearate MSGL? This
should make it easy to add code that e.g. sends them to a different
file.
Or disabling all messages except slave mode ones.
I would also include the -identify messages in this level, since they
both are non-translatable and easily parseable.

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list