[mythtv-firehose] mythtv branch master updated by jyavenard. v0.28-pre-872-g95d136e

Git Repo Owner noreply at mythtv.org
Fri Feb 21 13:51:33 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  95d136e60018f9b8b8142a645dc6f08cc75e1235 (commit)
       via  4cbec8a1da9c16c0f7119803399934ca4dcdba6f (commit)
       via  26d828e053c85286377984d419e409637c3b9222 (commit)
      from  7a763f308cce5da6d7835f1400f646df2b0017c0 (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 95d136e60018f9b8b8142a645dc6f08cc75e1235
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 22 Feb 2014 00:06:09 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 22 Feb 2014 00:50:50 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=95d136e60018f9b8b8142a645dc6f08cc75e1235

Prevent playback to exit early should backend's writes be delayed
Typical scenario is when using liveTV and being very close to real time TV: should the backend take more than 360ms between two writes, the reader would treat it as an EOF and abort the read.

Whenever we open a file in write mode, we add it to a global dictionary. When reaching an EOF, we can then check if the file is going to be written to again.

We can also remove all EOF retries in FileRingBuffer::safe_read() as we definitely know now if we did reach EOF (as we check against the file size).
This allows for almost instantaneous program transition in live TV.



commit 4cbec8a1da9c16c0f7119803399934ca4dcdba6f
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Fri, 21 Feb 2014 23:47:21 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 22 Feb 2014 00:50:50 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=4cbec8a1da9c16c0f7119803399934ca4dcdba6f

Style and consistency changes
Add LOC in front of all logs, some of them had it, some didn't.
Not having it made it difficult to identify where some particular logs originated from as there are several areas showing the same text



commit 26d828e053c85286377984d419e409637c3b9222
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Thu, 20 Feb 2014 23:11:13 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 22 Feb 2014 00:50:50 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=26d828e053c85286377984d419e409637c3b9222

Add non-static LastModified(void) method



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

Summary of changes:
 mythtv/libs/libmythbase/remotefile.cpp     |    5 +
 mythtv/libs/libmythbase/remotefile.h       |    1 +
 mythtv/libs/libmythtv/fileringbuffer.cpp   |   21 ++-
 mythtv/libs/libmythtv/ringbuffer.cpp       |   29 ++-
 mythtv/libs/libmythtv/ringbuffer.h         |    6 +
 mythtv/programs/mythbackend/mainserver.cpp |  473 ++++++++++++++++------------
 6 files changed, 324 insertions(+), 211 deletions(-)

-- 



More information about the mythtv-firehose mailing list