[MPlayer-dev-eng] [PATCH] -msgl option

Oded Shimon ods15 at ods15.dyndns.org
Mon Dec 5 21:57:46 CET 2005


New -msglevel option, let's you set manually the MSGL for EVERY MSGT.
There's also an additional 'all' which obviously sets all msgt's, and does 
not override any others.
Usage:
-msglevel all=-1:cplayer=5:demuxer=9

values:
-1 - silence
 0 - fatal
 1 - error
 2 - warning
 3 - hint
 4 - info
 5 - status
 6 - verbose
 7 - debug2
 8 - debug3
 9 - debug4

with regards to -quiet and -v. -quiet does nothing except change a 
different variable, so it doesn't affect. -v "adds" to what you set on 
'all', but it does not change the ones you set manually. 'all' basically 
has a default value of '5 - status'.

All changes are now immedeate, so now a -v might let you see some verbose 
cfgparser output as it's parsing the command line. :)

A '-msglevel help' would be a good idea... Also a doc patch. I'm lazy.

- ods15




More information about the MPlayer-dev-eng mailing list