[mythtv-commits] mythtv commit: r7946 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Nov 20 13:54:07 EST 2005


      Author: danielk
        Date: 2005-11-20 18:54:06 +0000 (Sun, 20 Nov 2005)
New Revision: 7946
   Changeset: http://cvs.mythtv.org/trac/changeset/7946

Modified:

   trunk/mythtv/libs/libmythtv/eitscanner.cpp
   trunk/mythtv/libs/libmythtv/eitscanner.h
   trunk/mythtv/libs/libmythtv/tv_rec.cpp

Log:

References #551.

This makes the eitscanner a little smarter about handling multiple
EIT scanning cards. It adds randomness to when scanning starts and
when channel changes happen, this should make it much less likely
that two or more cards act in lockstep when it comes to changing
channels and calling for reschedules.

This also implements rate limiting across all eitscanners on the 
same backend on the calls to reschedule.

This also adds randomness to which channel the scanners start at.
This just assures that when multiple scanners first start up two
or more of them aren't scanning the same exact channels. This doesn't
address Brandon's problem, but only makes the scan faster right after
you first start the backend if you do have multiple cards. After
a while the scanners would be out of lockstep anyway, this just
speeds the process.






More information about the mythtv-commits mailing list