[mythtv-commits] mythtv/master commit: 412ceac04 by Mark Kendall (mark-kendall)
MythTV
noreply at mythtv.org
Mon Jun 6 03:34:59 UTC 2011
Author: Mark Kendall <mkendall at mythtv.org>
Change Date: 2011-06-05T20:34:34-07:00
Push Date: 2011/06/05 20:34:53 -0700
Repository: mythtv
Branch: master
New Revision: 412ceac04d12ae5d65bd0fb3b0ad2afa50c59b78
Changeset: https://github.com/MythTV/mythtv/commit/412ceac04
Log:
RingBuffer: Tweak the fill_threshold settings again.
- raise fill_threshold to 7/8th of the buffer size, which gives up to
4Mb of additional filled buffer.
- drop wait timeout for filling the additional buffer space above the
threshold from 1000ms to 50ms.
On bursty matroska streams, there may be no buffer activity at all for
10s of seconds. During this time the read ahead loop would only trigger
an additional read above the fill threshold every second and under the
worst case scenario, this meant that the buffer was not sufficiently
full before the next burst of read activity.
(N.B. I inadvertantly committed a change to the fill threshold in
bff85941ca)
Modified:
mythtv/libs/libmythtv/ringbuffer.cpp
More information about the mythtv-commits
mailing list