[mythtv-commits] Ticket #3963: [PATCH] Use DTVRecorder::Reset() instead of derived class' Reset()

MythTV mythtv at cvs.mythtv.org
Thu Sep 13 15:55:40 UTC 2007


#3963: [PATCH] Use DTVRecorder::Reset() instead of derived class' Reset()
------------------------------------------------+---------------------------
 Reporter:  Shane Shrybman <gnome42 at gmail.com>  |       Owner:  ijr    
     Type:  defect                              |      Status:  new    
 Priority:  minor                               |   Milestone:  unknown
Component:  mythtv                              |     Version:  unknown
 Severity:  medium                              |     Mlocked:  0      
------------------------------------------------+---------------------------
 In livetv with DTV recorders we incorrectly delete the positionmap when we
 transition from one show to the next.

 During transition:

 RecorderBase::CheckForRingBufferSwitch(void) calls ResetForNewFile()
 before the curRecording is set to the new recording.
 DTVRecorder::ResetForNewFile() calls the base class's Reset() which will
 delete the positionmap from the DB for the curRecording. If we call
 DTVRecorder::Reset() instead we won't delete the postionmap from the DB
 and we have the same behaviour as the non-DTV recorders.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3963>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list