[mythtv-commits] mythtv/fixes/0.24 commit: 1cf65bccb by Taylor Ralph (tralph)

MythTV noreply at mythtv.org
Fri Aug 12 10:00:09 UTC 2011


      Author:  Taylor Ralph <tralph at mythtv.org>
 Change Date:  2011-08-12T02:55:42-07:00
   Push Date:  2011/08/12 03:00:06 -0700
  Repository:  mythtv
      Branch:  fixes/0.24
New Revision:  1cf65bccbd186fcfdb8d55e31232a8cfe6fdb1a3
   Changeset:  https://github.com/MythTV/mythtv/commit/1cf65bccb

Log:

RingBuffer: Optimize readahead buffer to completely fill if readblocksize > totfree.

This allows the readahead buffer to fill if the readblocksize is greater than buffer free by temporarily reducing the read size to a size that will fit. With this change the buffers reach 99% for all videos.

Backports d9506371d04a0dff4f6358e1f7cc81781ff1ae40 from master.

Modified:

   mythtv/libs/libmythtv/RingBuffer.cpp



More information about the mythtv-commits mailing list