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

Bob Cottingham bobnvic at gmail.com
Fri Sep 14 14:21:41 UTC 2007


On 9/13/07, MythTV <mythtv at cvs.mythtv.org> wrote:
> #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.
>
Thanks, this fixed the issues I was experiencing seeking between shows
in live-tv using an ivtv based card.

Bob C


More information about the mythtv-dev mailing list