diff options
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: channels.c 1.49 2006/02/28 13:54:34 kls Exp $ + * $Id: channels.c 1.51 2006/04/17 12:18:57 kls Exp $ */ #include "channels.h" @@ -293,6 +293,9 @@ bool cChannel::SetSatTransponderData(int Source, int Frequency, char Polarizatio // Sometimes the transponder frequency is set to 0, which is just wrong if (Frequency == 0) return false; + // Sometimes the symbol rate is off by one + if (abs(srate - Srate) <= 1) + Srate = srate; if (source != Source || frequency != Frequency || polarization != Polarization || srate != Srate || coderateH != CoderateH) { if (Number()) { |