[mythtv-commits] mythtv commits
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Sat Apr 9 09:45:02 UTC 2005
----------------------------------------------------------------------------
Changes committed by cpinkham on Sat Apr 9 09:44:03 2005
Modified Files:
in mythtv/libs/libmythtv:
RingBuffer.cpp
Log Message:
* This patch should fix the following errors that have been occuring for some
people after the RingBuffer fills up while watching LiveTV.
ERROR: file I/O problem in 'safe_read()': Bad address
ERROR: file I/O problem in 'safe_read()': Invalid argument
It appears to have been related to avformatdecoder/libavformat triggering
a SEEK_SET in the middle of playback for recordings. This is fine for
normal recordings, but when in LiveTV, when the total position in the
stream exceeds the size of the RingBuffer, RingBuffer::Seek() couldn't
handle it and would seek off to a bad location, causing safe_read() to fail.
----------------------------------------------------------------------------
More information about the mythtv-commits
mailing list