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

John Patrick Poet john at BlueSkyTours.com
Wed Dec 29 13:40:38 UTC 2004


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.

John

-------------- next part --------------
A non-text attachment was scrubbed...
Name: DTV-HandleKeyFrame.patch
Type: text/x-patch
Size: 1051 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041229/ef244d26/DTV-HandleKeyFrame.bin


More information about the mythtv-dev mailing list