[mythtv] Ticket #2460: Add proper cout buffered logging of libavcodec
paulx at andreassen.com.au
Wed Sep 27 15:12:31 UTC 2006
On Wed, 27 Sep 2006 02:28 am, Stuart Auchterlonie wrote:
> On Wed, Sep 27, 2006 at 01:56:03AM +1000, Paul Andreassen wrote:
> > On Tue, 26 Sep 2006 02:56 am, MythTV wrote:
> > > #2460: Add proper cout buffered logging of libavcodec
> > >
> > > This is a good starting point. It should use the
> > > myth VERBOSE macros with an appropriate level ie. VB_LIBAV
> > > rather than cout to print the messages.
> > I get a lot of these messages and would prefer the cout to buffering them
> > until a VERBOSE message comes along.
> What I mean by that is replacing the
> cout << msg;
> VERBOSE(VB_LIBAV, msg);
> in your function myth_av_log(...)
> if you look at the VERBOSE macro it effectively does the
> same thing with the added bonus of timestamping and the
> ability to turn them off, by not selecting --verbose VB_LIBAV
OK, I'll do that. I might still report the error level to VB_GENERAL.
More information about the mythtv-dev