Skip to content

Commit

Permalink
RingBuffer: Tweak the logging and comments.
Browse files Browse the repository at this point in the history
Just makes it a little more explicit when the low bitrate optimisations
are working and where.
  • Loading branch information
Mark Kendall committed Nov 21, 2011
1 parent 4f506d0 commit 7b2eb25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/ringbuffer.cpp
Expand Up @@ -384,7 +384,7 @@ void RingBuffer::CalcReadAheadThresh(void)
{
if (low_buffers)
{
LOG(VB_FILE, LOG_INFO, LOC +
LOG(VB_GENERAL, LOG_INFO, LOC +
"Buffering optimisations disabled.");
}
low_buffers = false;
Expand Down Expand Up @@ -809,7 +809,7 @@ void RingBuffer::run(void)

if (readtimeavg < 150 &&
(uint)readblocksize < (BUFFER_SIZE_MINIMUM >>2) &&
readblocksize >= CHUNK)
readblocksize >= CHUNK /* low_buffers */)
{
int old_block_size = readblocksize;
readblocksize = 3 * readblocksize / 2;
Expand Down

0 comments on commit 7b2eb25

Please sign in to comment.