[mythtv-commits] mythtv/master commit: 4b0803be0 by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Wed Nov 9 12:43:24 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-11-09T04:43:05-08:00
   Push Date:  2011/11/09 04:43:11 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  4b0803be0c0974c1849c297064eeb96bf7817b9b
   Changeset:  https://github.com/MythTV/mythtv/commit/4b0803be0

Log:

Playback: Fix DVD and Blu Ray seeking.

The main problem here was that when paused, the seek position would
fallback to the current speed (i.e. 0) and playback would resume from
the beginning of the title.

With DVD playback, we were also asking the dvdnav object to seek to the
nearest cell - which led to some sizeable search discrepancies depending
where playback was relative to the nearest cell. We now ask for a more
accurate search.

N.B. I also tried to use a relative time search to the nearest cell
followed by a smaller absolute time search (as outline in the dvdnav
api) but this seemed to be even less accurate.

Refs #9305

Modified:

   mythtv/libs/libmythtv/avformatdecoderbd.cpp
   mythtv/libs/libmythtv/avformatdecoderdvd.cpp
   mythtv/libs/libmythtv/dvdringbuffer.cpp



More information about the mythtv-commits mailing list