[mythtv-commits] mythtv commit: r10482 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Jul 12 13:36:23 UTC 2006


      Author: danielk
        Date: 2006-07-12 13:36:22 +0000 (Wed, 12 Jul 2006)
New Revision: 10482
   Changeset: http://cvs.mythtv.org/trac/changeset/10482

Modified:

   trunk/mythtv/libs/libmythtv/tv_play.cpp
   trunk/mythtv/libs/libmythtv/tv_play.h

Log:

Fixes #2013. Allow user to enter multiple leading zeros in "dumb" channel change.

When optimizing the regular expressions for the slow regular expression matcher on Mac OS X, we made the leading zero regular expression non-greedy. This meant it only eliminated the first of the zeros entered each time GetQueuedChanNum() was called. When smart channel changing is disabled GetQueuedChanNum() was not called on each character entered so only some of the leading zeros were removed.

This implements the original regular expression manually.






More information about the mythtv-commits mailing list