[mythtv] [PATCH] DTVRecorder::HandleKeyframe - SetPositionMap/Delta

John Patrick Poet john at BlueSkyTours.com
Thu Dec 30 19:37:03 UTC 2004


On Wed, 29 Dec 2004, Isaac Richards wrote:

> On Wednesday 29 December 2004 08:40 am, John Patrick Poet wrote:
> > I finally discovered why I cannot record three HD shows while watching a
> > fourth, for more than an hour.
> >
> > In the DTV processing of keyframes, it was calling SetPositionMap
> > instead of SetPositionMapDelta.  This means that it was trying to
> > delete/insert the position map data for the *entire* show, each time!
> > After an hour of recording, that was so many DB queries, that no
> > ringbuffer was big enough to prevent overruns from the HD device driver.
> >
> > The attached patch fixes the problem.
>
> Applied.  Don't you like simple fixes? =)
>
> Isaac

Simple, yes.  I just wish I had thought to look at that part of the code a
month ago!

Thanks

John


More information about the mythtv-dev mailing list