[mythtv] osd problem could be compiler

Andrew Mahone andrewmahone at eml.cc
Sat Nov 8 14:16:40 EST 2003


On Saturday 08 November 2003 12:45, Isaac Richards wrote:

> Just explained a little about this to Thor on the IRC channel, but figured
> others might be vaguely interested:
>
> I'm leaning towards it being an optimization bug with respect to a class
> inheriting from an instantiated template class and having the complete
> class definition in a header file.
>
> Isaac

It might also be an inline function bug.  Gcc automatically inlines member 
functions defined in the body of a class declaration, which is why I put 
those in the header to begin with.  Probably wasn't really a useful 
optimization anyways, the only one of those where speed is critical is 
ProcessFrames, and if your computer can't deal with the overhead of the 
function call, you probably have no business using filters.  Whatever the 
case, I'm sorry to have broken things :-/
-- 
  Andrew Mahone
  andrewmahone AT eml DOT cc


More information about the mythtv-dev mailing list