[mythtv-commits] Ticket #10329: Fix DeleteMap tracker for in-progress recording

MythTV noreply at mythtv.org
Mon Feb 13 00:53:00 UTC 2012


#10329: Fix DeleteMap tracker for in-progress recording
------------------------------------------------+--------------------------
 Reporter:  Jim Stichnoth <stichnot@…>          |           Type:  Patch -
   Status:  new                                 |  Bug Fix
Milestone:  unknown                             |       Priority:  minor
  Version:  Master Head                         |      Component:  MythTV -
 Keywords:                                      |  General
                                                |       Severity:  medium
                                                |  Ticket locked:  0
------------------------------------------------+--------------------------
 If you enter the program editor and create a cutlist for an in-progress
 recording, playback will exit prematurely at the last frame that existed
 when the cutlist was created.  This is because DeleteMap::GetNearestMark()
 uses MythPlayer::totalFrames to represent the case where there are no
 further cut regions in the recording.  This isn't a good representation
 when the recording is growing.

 The attached patch modified GetNearestMark() to return an extra status
 value signifying whether an actual mark is being returned, versus a
 min/max placeholder, and uses the status in TrackerWantsToJump().

 (I think this was first reported on #mythtv, but I can't find a
 reference.)

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10329>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list