[mythtv] Questions on #6138 (HDHomeRun multirec)

Chris Pinkham cpinkham at bc2va.org
Wed Feb 4 21:34:32 UTC 2009


* On Thu Feb 05, 2009 at 12:48:55AM +1100, cal wrote:
> Chris Pinkham wrote:
>> [ /lots of really good stuff/ ]
>> - Wrap your _stream_handler->GetStats() calls and subsequent data
>>   usage in an "if ((print_verbose_messages & (VB_RECORD+VB_EXTRA)) != 0)".
>
> if ((print_verbose_messages & VB_RECORD)
>    && (print_verbose_messages & VB_EXTRA))
> {
>    :-)
> }  

The +VB_EXTRA is in there for a reason.  And most other places in the
code do a != 0, so I included it in my example.

--
Chris


More information about the mythtv-dev mailing list