[mythtv] Advice on use of VERBOSE macro

Nigel Pearson nigel at ind.tansu.com.au
Mon Jan 24 22:55:08 UTC 2011


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      |

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20110125/5d71820c/attachment.htm>


More information about the mythtv-dev mailing list