Skip to content

Commit 27dae9c

Browse files
Refs #10490. Switch ringbuffers a little earlier in LiveTV.
1 parent bbb2d5f commit 27dae9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mythtv/libs/libmythtv/ringbuffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ bool RingBuffer::IsNearEnd(double fps, uint vvf) const
410410
double bytes_per_frame = kbits_per_sec * (1000.0/8.0) / fps;
411411
double readahead_frames = sz / bytes_per_frame;
412412

413-
bool near_end = ((vvf + readahead_frames) < 10.0) || (sz < rbs*1.5);
413+
bool near_end = ((vvf + readahead_frames) < 20.0) || (sz < rbs*1.5);
414414

415415
LOG(VB_PLAYBACK, LOG_INFO, LOC + "IsReallyNearEnd()" +
416416
QString(" br(%1KB)").arg(kbits_per_sec/8) +

0 commit comments

Comments
 (0)