[mythtv] [PATCH] Fix tuning problem with very low fequency channel
Steven
mythmail at richardstraat.homedns.org
Mon Oct 4 09:31:15 UTC 2004
I had a channel with frequency 48250 that wouldn't tune. Tracked it down
to this quick fix.
Steven
-------------- next part --------------
Index: libs/libmythtv/channel.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/channel.cpp,v
retrieving revision 1.76
diff -d -u -r1.76 channel.cpp
--- libs/libmythtv/channel.cpp 26 Aug 2004 23:57:55 -0000 1.76
+++ libs/libmythtv/channel.cpp 4 Oct 2004 09:25:15 -0000
@@ -397,10 +397,10 @@
// Determine if freqid is id or frequency
// freqid is a frequency if and only if it is a valid integer and
- // larger than 50 MHz
+ // larger than 48 MHz
bool ok;
int frequency = freqid.toInt(&ok);
- bool isFrequency = ok && frequency > 50000;
+ bool isFrequency = ok && frequency > 48000;
SetFormat(tvformat);
More information about the mythtv-dev
mailing list