[mythtv-commits] mythtv commit: r8568 by danielk

mythtv@cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Jan 11 17:59:33 UTC 2006


      Author: danielk
        Date: 2006-01-11 17:59:33 +0000 (Wed, 11 Jan 2006)
New Revision: 8568
   Changeset: http://cvs.mythtv.org/trac/changeset/8568

Modified:

   trunk/mythtv/libs/libmythtv/tv_play.cpp

Log:

Closes #1002, by optimizing GetQueuedChanNum().

If there is nothing in queuedChanNum we just return it without
running the regular expression matching at all.

We also use a static regular expression which means we don't rely on the Qt regular expression cache to avoid recompiling the matching tables, this Qt feature appears to be broken or missing in the MacOSX Qt implementation.

Finally, we use minimal rather than greedy matching so the expression can be evaluated more quickly.






More information about the mythtv-commits mailing list