[mythtv-commits] mythtv branch fixes/0.27 updated by jstichnoth. v0.27.3-112-g6788ea9

Git Repo Owner noreply at mythtv.org
Fri Aug 8 20:07:19 UTC 2014


The branch, fixes/0.27 has been updated on the
mythtv repository by gitolite user jstichnoth.
       via  6788ea9ab34b86a1b7f18a540f91d5c5514f4665 (commit)
      from  5c76f3356fe2178677019e0415151e64605411c4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6788ea9ab34b86a1b7f18a540f91d5c5514f4665
Author:    Jim Stichnoth <jstichnoth at mythtv.org> at Sun, 13 Jul 2014 08:46:16 -0700
Committer: Jim Stichnoth <jstichnoth at mythtv.org> at Fri, 8 Aug 2014 13:01:36 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=6788ea9ab34b86a1b7f18a540f91d5c5514f4665

Make seeks faster for slow decoders / large keyframe distances.
Exact seeking for HD-PVR recordings can be notoriously slow because
the keyframe distance is 128 frames and decoding (even GPU hardware
decoding) is often little faster than real-time.

In most cases, it's a much better user experience to make a less
accurate but much faster seek to the preceding keyframe.

There are two changes:

1. Impose a maximum wall-clock time on the forward frame-by-frame
seeking.  After this maximum time elapses, abort any further frame
seeking.

2. In addition, try to predict whether fully accurate seeking will
complete within a reasonable time, and if after a few frames it seems
hopeless, just don't bother seeking any further.

This approach allows fast decoders and video formats amenable to fast
decoding to continue to have exact seeking.

Fixes #12004.
(cherry picked from commit 33acfaf30747592b9fca0913b2c2f8832418d618)



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythtv/avformatdecoder.cpp |   34 ++++++++++++++++++++++++++++-
 mythtv/libs/libmythtv/mythplayer.cpp      |    8 +++++-
 2 files changed, 39 insertions(+), 3 deletions(-)

-- 



More information about the mythtv-commits mailing list