[mythtv-commits] mythtv commit: r22246 by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Oct 5 04:05:07 UTC 2009


      Author: cpinkham
        Date: 2009-10-05 04:05:07 +0000 (Mon, 05 Oct 2009)
New Revision: 22246
   Changeset: http://cvs.mythtv.org/trac/changeset/22246

Modified:

   trunk/mythtv/libs/libmythui/mythuihelper.cpp

Log:

Fix an issue with the in-memory image cache.  When searching for
the oldest expirable item in the cache, the oldestTime was initially
set to the first item in the QMap.  This causes problems because we
don't know where in time this item was at.  It makes more sense to
initially set oldestTime to now() and then loop through the cache
looking for the oldest expirable item.






More information about the mythtv-commits mailing list