[mythtv-commits] mythtv commit: r26348 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Sep 16 21:21:24 UTC 2010


      Author: danielk
        Date: 2010-09-16 21:21:23 +0000 (Thu, 16 Sep 2010)
New Revision: 26348
   Changeset: http://svn.mythtv.org/trac/changeset/26348

Log:

mythtv-rec: update DeviceReadBuffer::IncrWritePointer() to handle new writePtr semantics. We always try to read dev_read_size even if it would get us past the end of the buffer. Which means we allocate a buffer dev_read_size larger than it's otherwise usable size and copy an excess on a read to the head of the buffer after the read from the device, this works better with the DMA blocks used by some drivers at the expense of very little extra memory usage.

Modified:

   branches/mythtv-rec/mythtv/libs/libmythtv/DeviceReadBuffer.cpp




More information about the mythtv-commits mailing list