[mythtv-commits] mythtv branch master updated by jstichnoth. v0.28-pre-1864-g33acfaf

Git Repo Owner noreply at mythtv.org
Sun Jul 13 17:27:02 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user jstichnoth.
       via  33acfaf30747592b9fca0913b2c2f8832418d618 (commit)
       via  438d29a4a64b38ac239f61208262e35a3e486d91 (commit)
       via  7bd0dae7c79266d5d4154e0f8681fd90570e4517 (commit)
      from  ee7470d8bc0b843b80d13f4d9d92a6c3b06c3b2b (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 33acfaf30747592b9fca0913b2c2f8832418d618
Author:    Jim Stichnoth <jstichnoth at mythtv.org> at Sun, 13 Jul 2014 08:46:16 -0700
Committer: Jim Stichnoth <jstichnoth at mythtv.org> at Sun, 13 Jul 2014 10:25:54 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=33acfaf30747592b9fca0913b2c2f8832418d618

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.



commit 438d29a4a64b38ac239f61208262e35a3e486d91
Author:    Jim Stichnoth <jstichnoth at mythtv.org> at Sun, 13 Jul 2014 08:38:30 -0700
Committer: Jim Stichnoth <jstichnoth at mythtv.org> at Sun, 13 Jul 2014 10:25:54 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=438d29a4a64b38ac239f61208262e35a3e486d91

Subtitles: Avoid changing subtitle state in the decoder thread.
This addresses the clearing of stale subtitles after a seek.
Refs #10740.



commit 7bd0dae7c79266d5d4154e0f8681fd90570e4517
Author:    Jim Stichnoth <jstichnoth at mythtv.org> at Sun, 13 Jul 2014 08:25:12 -0700
Committer: Jim Stichnoth <jstichnoth at mythtv.org> at Sun, 13 Jul 2014 10:25:53 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=7bd0dae7c79266d5d4154e0f8681fd90570e4517

Revert "Subtitles: Avoid changing subtitle state in the decoder thread."
This reverts commit 5a26ce90f5f48495597b451630e3a16a3af5f4ee.

The problem is that calling EnableSubtitles(false) after a seek
unconditionally disables subtitles, instead of clearing stale
subtitles from the screen.



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

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

-- 



More information about the mythtv-commits mailing list