[mythtv] Re: [mythtv-commits] Re: Ticket #743: Fix "program not found in PAT" problem.

Daniel Kristjansson danielk at cuymedia.net
Sun Jan 8 16:57:42 UTC 2006


On Sun, 2006-01-08 at 16:41 +0000, Stuart Auchterlonie wrote:
> On Sun, Jan 08, 2006 at 12:46:31AM -0000, MythTV wrote:
> > #743: Fix "program not found in PAT" problem.
> > ---------------------+------------------------------------------------------
> >  Reporter:  stuarta  |        Owner:  danielk 
> >      Type:  patch    |       Status:  reopened
> >  Priority:  minor    |    Milestone:  0.19    
> > Component:  mythtv   |      Version:  head    
> >  Severity:  medium   |   Resolution:          
> > ---------------------+------------------------------------------------------
> > Comment (by danielk):
> > 
> >  Can you do find-correct-pat-in-400ms.diff without requiring
> >  mpegstreamdata-cleanup.diff?
> > 
> >  The mpegstreamdata-cleanup.diff adds a malloc each time through the loop
> >  when it isn't needed. mallocs are the largest portion of time taken by the
> >  CPU during recording already...
> I'll look at doing the cleanup differently then so that it doesn't use
> the malloc.
Thanks, it's needed when caching. But we use it in non-caching mode in
HDTVRecorder during recording, there the mallocs are a real pita.

That code started out really simple and just grew, it might make sense
to just write a little function that does that stuff now to reduce the
redundancy.

-- Daniel



More information about the mythtv-dev mailing list