[mythtv-commits] mythtv commit: r15031 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Dec 3 20:12:19 UTC 2007


      Author: danielk
        Date: 2007-12-03 20:12:18 +0000 (Mon, 03 Dec 2007)
New Revision: 15031
   Changeset: http://cvs.mythtv.org/trac/changeset/15031

Modified:

   trunk/mythtv/libs/libmythtv/hdhrrecorder.cpp

Log:

Fixes #4213. Makes HDHomeRun buffering more flexible with patch from Bill Cizek.

We used a hardcoded 2.5 MB buffer for reading HDHomeRun. This makes the HDHRRecorder respect the HDRingbufferSize variable which other HD capable recorders use to size the device reading buffer. While 2.5 MB is more than enough in most cases, slower machines may have trouble keeping up at times, so the HDRingbufferSize setting allows us to configure the buffer size.

This also shrinks the size of each read from the buffer from 512 KB to 64 KB. This just allows for slightly better memory usage with typically sized streams.





More information about the mythtv-commits mailing list