[mythtv] Advice on use of VERBOSE macro

Paul Gardiner lists at glidos.net
Tue Jan 25 00:22:48 UTC 2011


On 24/01/2011 22:55, Nigel Pearson wrote:
>
> On 25/01/2011, at 4:19 AM, Paul Gardiner wrote:
>
>> While doing a little work on the H264 parser, I've noticed
>> that there are places in the code where unexpected results
>> could be reported. I wonderer what VERBOSE call should be
>> used for these. Should a new "H264" switch be added?
>
> I don't think we currently have any codec-specific flags,
> so VERBOSE(VB_PLAYBACK, "...") is most appropriate.
> If you need to group some of the messages into a different
> level of detail, use VERBOSE(VB_PLAYBACK+VB_EXTRA, "...")
>
> (which would only display is the user specified both
> of those flags, i.e. -v playback,extra)
>
> --
> Nigel Pearson, nigel at ind.tansu.com.au|"Gentlemen! |
> Telstra Net. Eng., Sydney, Australia | You can't fight in here-|
> Office: 9202 3900 Fax: 9212 6348 | this is the war room!"|
> Mobile: 0408 664435 Home: 9792 6998 | Dr Strangelove |

Thanks. Exactly the information I was looking for.

Cheers,
	Paul.


More information about the mythtv-dev mailing list