[mythtv] [PATCH] Limit the updates for nonexisting LCD

Jeremiah Morris jm at whpress.com
Sat Oct 16 13:08:26 UTC 2004


On 8 Oct 2004, at 6:12 PM, Kenneth Aafløy wrote:

> So I'll start making patches like:
>  if ( (LvdDevice *dev = gContext->GetLcdDevice()) )
>  {
>   ....
>  }
> which would not affect the current behavior at all, and then in the 
> end send
> the patch which really does not create and/or deletes the lcd object 
> if it's
> unable to connect to it's server.

As a data point, I'm currently profiling the Mac OS X build, and nearly 
15% of the time is spent in the LCD update code (running 
calcSliderPos() and the lastLcdUpdate calculation).  So, I'm all for 
conditionalizing the LCD, as I'm paying a huge penalty for a feature I 
don't use.

- Jeremiah



More information about the mythtv-dev mailing list