[MPlayer-dev-eng] [PATCH] verbosity reduction

Oded Shimon ods15 at ods15.dyndns.org
Wed Sep 28 18:43:00 CEST 2005


On Wed, Sep 28, 2005 at 10:44:17AM -0400, Robert Henney wrote:
> On Mon, Sep 19, 2005 at 08:59:57PM +0200, Roberto Togni wrote:
> > On Mon, 19 Sep 2005 10:05:53 +0200
> [..]
> > Please don't move messages to level higher than -v.
> > -v -v is unuseable (you pratically need to redirect it to a file)
> > because it prints too much stuff during playback.
> > 
> > If you really want to reduce -v verbosity, a new intermediate
> > level have to be introduced.
> > 
> > Ciao,
> >  Roberto
> 
> what I would love to see, but would be much too complex beyond
> consideration is a way to increase and decrease verbosity for particular
> parts of mplayer.
> 
> say, -verbose mux=+1,filt=+2,vo=-1,gen=-1 [ etc.. ] which would increase
> the verbosity 1 level on the muxer code, up by 2 levels within filters,
> and down by 1 on video out and general sections.
> 
> it's very often when trying to focus on what's happening in a particular
> section of mplayers insides that I would like to have as much verbosity
> relative to that area of code and practically dead silence from the
> rest.

Everything underlying already exists for this, mp_msg ALREADY makes a 
seperation for verbose levels for all types of messages, and most calls to 
mp_msg ALREADY come with the correct "type", the only thing missing is 
command line parser.. Lemme get started on this, I think i can get 
something good pretty quickly...

- ods15




More information about the MPlayer-dev-eng mailing list