[mythtv-commits] Ticket #11572: Seeking backwards on DVDs sometimes seeks forwards

MythTV noreply at mythtv.org
Sun Jun 2 23:02:07 UTC 2013


#11572: Seeking backwards on DVDs sometimes seeks forwards
-------------------------+---------------------------------------
 Reporter:  peper03@…    |           Type:  Patch - Bug Fix
   Status:  new          |       Priority:  minor
Milestone:  unknown      |      Component:  MythTV - DVD Playback
  Version:  Unspecified  |       Severity:  medium
 Keywords:               |  Ticket locked:  0
-------------------------+---------------------------------------
 Trying to seek backwards on some DVDs actually causes a jump forwards.
 This is caused by dvdnav_absolute_time_search assuming that NAV packets
 will be equally spaced.  If they're not, the calculated sector will be
 wrong and actually be ahead of the current sector.

 There is already a mechanism in place to compare the playback position
 after a jump with the required position but this didn't work correctly
 when seeking backwards due to type issues.

 The attached patch fixes the type issues and allows the code to keep on
 zeroing in on the desired position until we're within a second of it
 (usually only takes a single iteration).

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


More information about the mythtv-commits mailing list