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

Daniel Thor Kristjansson danielk at mrl.nyu.edu
Wed Dec 29 14:23:46 UTC 2004


On Wed, 29 Dec 2004, 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!

Ah! This explains why this only happens late in the recordings, and not 
for everyone. If your DB can keep up with these mad inserts after 2 
hours, the problem is unlikely to ever be triggered. I'm impressed that 
this worked as well as it did, mysql must be pretty speedy.

-- Daniel


More information about the mythtv-dev mailing list