[mythtv] Re: [mythtv-commits] mythtv commit: r7481 by danielk

Daniel Kristjansson danielk at cuymedia.net
Sat Oct 15 01:05:07 UTC 2005

On Fri, 2005-10-14 at 21:04 -0400, Isaac Richards wrote:
> > > Stops playbackbox from blocking on preview generation.

> > This'll leak threads & also crash if you exit the playback window while
> > it's creating a preview.  Old way was fine, since creating previews is only
> > a one time cost per recording.  A better way to accomplish this would be to
> > make the backend generate the preview after it's done with the recording.
> Well, shouldn't crash, but it's still leaking threads. =)  It's also not a 
> great idea to be using that same backend connection in multiple threads.

I'll add a pthread_detach() for the leaking thread local
memory problem. And, I'll look at creating more backend

I also want to add preview generation on recording end, and
on commercial flagging end. This should handle the browsing
a in-progress recording part of the problem though.

-- Daniel

More information about the mythtv-dev mailing list