[mythtv-firehose] mythtv branch master updated by jstichnoth. v0.27-pre2-511-g91ec76e

Git Repo Owner noreply at mythtv.org
Sat Jan 5 16:21:47 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user jstichnoth.
       via  91ec76e8afba1833a7cb64f17429910f29b39404 (commit)
      from  2cc858c9feabf1bc858cb2c2abe9206b5fb87197 (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 91ec76e8afba1833a7cb64f17429910f29b39404
Author:    Jim Stichnoth <jstichnoth at mythtv.org> at Sat, 5 Jan 2013 08:21:19 -0800
Committer: Jim Stichnoth <jstichnoth at mythtv.org> at Sat, 5 Jan 2013 08:21:19 -0800
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=91ec76e8afba1833a7cb64f17429910f29b39404

Play closer to the end of the video.
Refs #6974.  When the end of the recording is reached, don't exit the
player immediately.  Instead, pause playback and let exiting be
handled by either the end-of-playback timer event or the
end-of-recording-delete-prompt timer event.  This removes IsNearEnd()
from end-of-playback consideration, as well as the randomness of where
in the 250ms window the timer events fire.

IsNearEnd() is still used in other places (e.g. to control playback
speed and bookmarking behavior near the end of a recording).  The
IsNearEnd() calculation is changed to depend on the number of frames
played by the player rather than the number of frames read by the
decoder thread, making IsNearEnd() more predictable and reliable.

Note that this does not address the original issue in #6974, which
involves allowing the accumulated decoded frames to be displayed after
the decoder reaches EOF.



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

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

-- 



More information about the mythtv-firehose mailing list