[mythtv-commits] mythtv commit: r26173 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Sep 8 16:57:06 UTC 2010


      Author: danielk
        Date: 2010-09-08 16:57:06 +0000 (Wed, 08 Sep 2010)
New Revision: 26173
   Changeset: http://svn.mythtv.org/trac/changeset/26173

Log:

Fixes #8873. The seek to end optimization was using an int rather than a guaranteed 64-bit or larger type to check if the seek had succeeded, so it failed for all files larger than 2^31 when int was a 32 bit type, files larger than 2^15 when int was a 16 bit type, etc. Also since the seeks done when doing an mpeg-ts seek don't match the pattern that this optimization is for, I've disabled this optimization when the offset from the end of the file is not exactly 250,000 bytes. So this optimization will only be triggered where we know it will do some good..

Modified:

   trunk/mythtv/libs/libmythtv/RingBuffer.cpp




More information about the mythtv-commits mailing list