[mythtv-commits] mythtv branch master updated by jyavenard. v0.28-pre-939-gc24e2e7

Git Repo Owner noreply at mythtv.org
Tue Mar 4 12:09:24 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  c24e2e72966f0936f7dbb3f79f421038dbd41579 (commit)
       via  ed52e84bb12b0b02bebbf613811623bd5a6c0246 (commit)
      from  0514db2fb5f8ef6ad0b406d518254c20de2a7950 (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 c24e2e72966f0936f7dbb3f79f421038dbd41579
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 4 Mar 2014 22:55:51 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 4 Mar 2014 22:55:51 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c24e2e72966f0936f7dbb3f79f421038dbd41579

Fix seek when close to end of program
When seeking repeatedly close to the end of the program in liveTV, it would cause playback to jump immediately to the next program.
The cause was RingBuffer:: IsNearEnd didn’t report if we were close to the end of the file, but if there was little left to read in the ringbuffer. However, when seeking the buffer can be emptied, causing IsNearEnd to always return true
Additionally, with very low bitrate stream (like with the HLS recorder), we could sometimes miss over significant length of video.

A positive side effect is that there’s now no pause whatsoever between two liveTV program,s at worse about 20 frames dropped.

Ref #12076



commit ed52e84bb12b0b02bebbf613811623bd5a6c0246
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 4 Mar 2014 22:03:05 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 4 Mar 2014 22:03:05 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ed52e84bb12b0b02bebbf613811623bd5a6c0246

Small optimisation of FileRingBuffer::GetRealFileSize
If file is already opened, no need to use QFileInfo



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

Summary of changes:
 mythtv/libs/libmythtv/fileringbuffer.cpp |   15 +++++++++++++++
 mythtv/libs/libmythtv/mythplayer.cpp     |    4 ++--
 mythtv/libs/libmythtv/ringbuffer.cpp     |   15 ++++++++++-----
 3 files changed, 27 insertions(+), 7 deletions(-)
 mode change 100755 => 100644 mythtv/libs/libmythtv/ringbuffer.cpp

-- 



More information about the mythtv-commits mailing list