[mythtv-commits] mythtv commit: r10847 by stuarta

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Aug 18 20:37:09 UTC 2006


      Author: stuarta
        Date: 2006-08-18 20:37:07 +0000 (Fri, 18 Aug 2006)
New Revision: 10847
   Changeset: http://cvs.mythtv.org/trac/changeset/10847

Modified:

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

Log:

Refs #1866. Adds FindBestMplexFreq.

This add some fuzzy matching to the frequency for dvb-t
systems. Previously we would ask the card to tune on a
frequency from the frequency list. This would often not
be the actually frequency that the mplex is on, but one
of the offset frequencies, and the card just managed to
pull itself together and get lock.

The NIT will have populated that DB with the mplexes
and their frequencies. So we can check the currently
tuned frequency against what the NIT provided. If this
frequency equals either the centre frequency or one of
the offset frequencies then we use the value we already
have. If we don't already have a frequency or the frequency
isn't one of the offsets (as would happen on a repeater mux)
then just use the frequency we tuned to.






More information about the mythtv-commits mailing list