[mythtv-commits] mythtv branch master updated by jstichnoth. v0.27-pre2-498-gc13683f

Git Repo Owner noreply at mythtv.org
Thu Jan 3 05:45:28 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user jstichnoth.
       via  c13683f20bb9e1f55b240499a01ea13aa821b47a (commit)
      from  8c4434a25a0c002bbfa971b90083e515a37d3f9c (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 c13683f20bb9e1f55b240499a01ea13aa821b47a
Author:    Jim Stichnoth <jstichnoth at mythtv.org> at Wed, 2 Jan 2013 21:32:28 -0800
Committer: Jim Stichnoth <jstichnoth at mythtv.org> at Wed, 2 Jan 2013 21:44:50 -0800
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c13683f20bb9e1f55b240499a01ea13aa821b47a

Fix duration display for in-progress variable-framerate recordings.
The last frame is used for calculating total duration, and since the
last frame is almost always beyond the end of the duration map,
requiring extrapolation based on the frame rate.  The problem was that
the frame rate for the current playback position was used, rather than
the frame rate for the current end of the recording, leading to
noticeable errors in duration calculation.  Instead, we can request
the latest frame rate from the recorder.

Thanks to David Engel for testing on a variable-framerate source.



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

Summary of changes:
 mythtv/libs/libmythbase/mythversion.h          |    2 +-
 mythtv/libs/libmythtv/decoderbase.cpp          |   23 +++++++++++++++++++++--
 mythtv/libs/libmythtv/decoderbase.h            |    5 +++--
 mythtv/libs/libmythtv/mythplayer.cpp           |   20 +++++++++++++++++++-
 mythtv/libs/libmythtv/mythplayer.h             |    6 +-----
 mythtv/libs/libmythtv/recorders/recorderbase.h |    8 ++------
 6 files changed, 47 insertions(+), 17 deletions(-)

-- 



More information about the mythtv-commits mailing list