[mythtv-firehose] mythtv branch fixes/0.26 updated by stuartm. v0.26.0-83-gc192968

Git Repo Owner noreply at mythtv.org
Sat Jan 19 14:51:05 UTC 2013


The branch, fixes/0.26 has been updated on the
mythtv repository by gitolite user stuartm.
       via  c1929686fd424b51c9725100e2e326525c879b0d (commit)
      from  8f8274aa90a5caa37e0cf16c20938a8d73782f02 (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 c1929686fd424b51c9725100e2e326525c879b0d
Author:    Richard <peper03 at yahoo.com> at Sat, 19 Jan 2013 14:50:31 +0000
Committer: Stuart Morgan <smorgan at mythtv.org> at Sat, 19 Jan 2013 14:50:31 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c1929686fd424b51c9725100e2e326525c879b0d

Simplify DVD startup to improve playback reliability
The startup code for DVD playback jumps around somewhat trying to find
a playable title, which is then used to create audio/video decoders
before playback is restarted at firstplay.

This doesn't always work as it can leave the DVDs VM in an
inconsistent state and, depending on the DVD, looks ugly as playback
starts and then restarts or appears to jump somewhere else after a
couple of seconds. Because the VM can be left in an inconsistent
state, menu navigation/selection issues can arise, which can make it
difficult to start playback.

The attached patch attempts to clean up the startup code. The
DVDRingBuffer no longer tries to find a playable title in OpenFile??,
but rather just lets the VM get on with playback. AVFormatDecoder no
longer processes the initial frames more than is required to create
decoders. Once this has been achieved, any cached data is flushed
before jumping back to 'firstplay' (and cleanly resetting the VM). By
not displaying the initial frames used to determine the decoders and
flushing the cached data, the ugly jump at the start of some DVDs is
no longer visible.

Fixes #11288

Backport from master [414de880b]

Signed-off-by: Stuart Morgan <smorgan at mythtv.org>



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

Summary of changes:
 mythtv/libs/libmythtv/DVD/avformatdecoderdvd.cpp |    6 +++
 mythtv/libs/libmythtv/DVD/avformatdecoderdvd.h   |    1 +
 mythtv/libs/libmythtv/DVD/dvdringbuffer.cpp      |   50 +---------------------
 mythtv/libs/libmythtv/avformatdecoder.cpp        |   39 +++++++++++++----
 mythtv/libs/libmythtv/avformatdecoder.h          |    1 +
 5 files changed, 38 insertions(+), 59 deletions(-)

-- 



More information about the mythtv-firehose mailing list