[MPlayer-dev-eng] [PATCH] support run command with specific osd_level

Uoti Urpala uoti.urpala at pp1.inet.fi
Sat Feb 2 03:16:36 CET 2008


On Sat, 2008-02-02 at 10:01 +0800, Ulion wrote:
> > Note that it is untested (only much too slow remote X to my devel
> > machine here), but I was thinking like in attached patch.
> 
> Still missing the part of code I replied earlier to your previous patch.
> You'd better test them with different osd_level, I mean before run
> commands, osd could be disabled, or max verbose, or just enabled at
> level 1. Then run 'osd_level N' commands, too see whether you got
> expected output osd msgs:
> For 'osd_level 0' prefix, nomatter how you change osd level by key
> 'o', there should not display any osd msgs related to your command,
> else it's not expected behavior.

osd_level does not mean that in Reimar's patch. Instead of specifying
the level to compare against it specifies the level to use for all
messages generated by the command. To avoid displaying messages under
that system you'd specify a HIGH osd_level. (The documentation part of
the patch still says max 3 - I think it would make sense to allow higher
values which would not be displayed if the user currently has OSD
visibility level 3).




More information about the MPlayer-dev-eng mailing list