[mythtv-firehose] mythtv branch devel/027candidates updated by jyavenard. v0.27-191-geba433f

Git Repo Owner noreply at mythtv.org
Sun Mar 9 12:59:26 UTC 2014


The branch, devel/027candidates has been updated on the
mythtv repository by gitolite user jyavenard.
       via  eba433fa2eba49884e9d0228b3f8f3042bf15da0 (commit)
       via  99906304d3131f219608e59b4b5792aa0eaf950a (commit)
       via  65682ee7e91a6d33a747f0aeb5e3964c4469db13 (commit)
       via  40dd19cebafbd1a4997ba5f9b0da591140ea5c59 (commit)
      from  2c28d2a7c9a392ea96082ef7771ae7131e0ec9ac (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 eba433fa2eba49884e9d0228b3f8f3042bf15da0
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 23:46:07 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 23:57:04 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=eba433fa2eba49884e9d0228b3f8f3042bf15da0

Only expire LiveTV programs that are less than 30s and more than 5 minutes old
(was 2 minutes programs, 1 minute old)

(cherry picked from commit 9883b4345be9c171c926ff9e4a352a54e8e5237f)



commit 99906304d3131f219608e59b4b5792aa0eaf950a
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 23:21:34 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 23:56:54 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=99906304d3131f219608e59b4b5792aa0eaf950a

Fix calculation of read block size.
RingBuffer::CalcReadAheadThresh was always called at least once with rawbitrate set to 8000; which would initially set readblocksize to 128kB. As any further call to CalcReadAheadThresh would always use the maximum of readblocksize previously calculated, readblocksize would never be set to a lower value; and as such the special case for low bitrate streams would never be triggered.

We now recalculate the read block size only based on the bitrate value. Also change the block size default value so that it would always take less than 200ms to read such block (the reader code expects such duration and displays warnings otherwise)

(cherry picked from commit c64141b0c0b7118ee28be2441374727a1af7c44c)



commit 65682ee7e91a6d33a747f0aeb5e3964c4469db13
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 22:48:36 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 23:56:43 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=65682ee7e91a6d33a747f0aeb5e3964c4469db13

Fix seek when close to end of program #2
It also fixes rewinding to the previous program on very low bitrate streams where it would jump to the end of the current program instead.

(cherry picked from commit 5d82ba64a6d68057dc1e3199938ab1365ed76947)



commit 40dd19cebafbd1a4997ba5f9b0da591140ea5c59
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Thu, 6 Mar 2014 23:27:56 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 23:56:28 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=40dd19cebafbd1a4997ba5f9b0da591140ea5c59

Do not abort early if not all data is received within 25ms
This is simply 90f47553371e7778ead7354d33baed95b5b56188 applied to libmythprotoserver/filetransfer.cpp which is 90% identical to the mythbackend version.
Also re-sync the two files…

(cherry picked from commit cad3f0a08b88e1e77ef1e91b9e1b09f6c54d0381)



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

Summary of changes:
 .../sockethandler/filetransfer.cpp                 |   56 +++++++++++++++++--
 .../sockethandler/filetransfer.h                   |    1 +
 mythtv/libs/libmythtv/ringbuffer.cpp               |   43 ++++++++-------
 mythtv/programs/mythbackend/autoexpire.cpp         |    4 +-
 mythtv/programs/mythbackend/filetransfer.cpp       |    4 +-
 5 files changed, 78 insertions(+), 30 deletions(-)

-- 



More information about the mythtv-firehose mailing list