[mythtv-commits] mythtv branch master updated by jyavenard. v0.28-pre-958-g9883b43

Git Repo Owner noreply at mythtv.org
Sun Mar 9 12:54:21 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  9883b4345be9c171c926ff9e4a352a54e8e5237f (commit)
       via  2980b3d29d16833bb70cfbe71b3c82f6eec7f803 (commit)
       via  c64141b0c0b7118ee28be2441374727a1af7c44c (commit)
       via  5d82ba64a6d68057dc1e3199938ab1365ed76947 (commit)
       via  6290fd98f55bc11f78366324deb04bf84e40da16 (commit)
       via  5f47d6922e8e2d740ffd9353bf8d354a189ef80d (commit)
       via  cad3f0a08b88e1e77ef1e91b9e1b09f6c54d0381 (commit)
      from  2e009edb4f99a575cd6be5567166ca0787db40c5 (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 9883b4345be9c171c926ff9e4a352a54e8e5237f
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:53:50 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9883b4345be9c171c926ff9e4a352a54e8e5237f

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



commit 2980b3d29d16833bb70cfbe71b3c82f6eec7f803
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 23:24:18 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 23:53:04 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2980b3d29d16833bb70cfbe71b3c82f6eec7f803

Return the actual file size rather than the one when the file was first opened



commit c64141b0c0b7118ee28be2441374727a1af7c44c
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:53:03 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c64141b0c0b7118ee28be2441374727a1af7c44c

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)



commit 5d82ba64a6d68057dc1e3199938ab1365ed76947
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:53:03 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=5d82ba64a6d68057dc1e3199938ab1365ed76947

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.



commit 6290fd98f55bc11f78366324deb04bf84e40da16
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 21:54:20 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 23:53:03 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=6290fd98f55bc11f78366324deb04bf84e40da16

Add RemoteFile::GetRealFileSize()
Allows to query the current size of the remote file. If the file isn’t opened for write by the backend, the size will be cached and the backend will be queried only once



commit 5f47d6922e8e2d740ffd9353bf8d354a189ef80d
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 21:49:10 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 23:53:03 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=5f47d6922e8e2d740ffd9353bf8d354a189ef80d

Add QUERY_FILETRANSFER REQUEST_SIZE command
This allows to query the current size of the file. Previously you could only get the size of the file from when it was first opened or had to issue a QUERY_FILE_EXISTS command that is significantly slower (as it requires a new connection to the backend)



commit cad3f0a08b88e1e77ef1e91b9e1b09f6c54d0381
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:53:03 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=cad3f0a08b88e1e77ef1e91b9e1b09f6c54d0381

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…



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

Summary of changes:
 mythtv/libs/libmythbase/remotefile.cpp             |   73 +++++++++++++++++++-
 mythtv/libs/libmythbase/remotefile.h               |    2 +
 .../requesthandler/fileserverhandler.cpp           |    6 ++
 .../sockethandler/filetransfer.cpp                 |   64 ++++++++++++++++--
 .../sockethandler/filetransfer.h                   |    2 +
 mythtv/libs/libmythtv/fileringbuffer.cpp           |    2 +-
 mythtv/libs/libmythtv/ringbuffer.cpp               |   43 ++++++------
 mythtv/programs/mythbackend/autoexpire.cpp         |    4 +-
 mythtv/programs/mythbackend/filetransfer.cpp       |   12 +++-
 mythtv/programs/mythbackend/filetransfer.h         |    1 +
 mythtv/programs/mythbackend/mainserver.cpp         |    8 ++-
 11 files changed, 183 insertions(+), 34 deletions(-)

-- 



More information about the mythtv-commits mailing list