diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-07-15 13:39:47 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-07-15 13:39:47 +0200 |
commit | c36b51a5b0def365f99a1ecfb583da1a85199a17 (patch) | |
tree | 56fa9137c8c9e304d51d21e0a9b8ebe2efe989d0 /dvbapi.c | |
parent | 20019e7ce51b9e14ce28f96b263b76e6becd4184 (diff) | |
download | vdr-c36b51a5b0def365f99a1ecfb583da1a85199a17.tar.gz vdr-c36b51a5b0def365f99a1ecfb583da1a85199a17.tar.bz2 |
Fixed frequency offset to allow Hotbird channels
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbapi.c 1.11 2000/06/24 14:03:19 kls Exp $ + * $Id: dvbapi.c 1.12 2000/07/15 13:33:04 kls Exp $ */ #include "dvbapi.h" @@ -1327,8 +1327,8 @@ bool cDvbApi::SetChannel(int FrequencyMHz, char Polarization, int Diseqc, int Sr struct frontend front; ioctl(videoDev, VIDIOCGFRONTEND, &front); unsigned int freq = FrequencyMHz; - front.ttk = (freq < 11800UL) ? 0 : 1; - if (freq < 11800UL) + front.ttk = (freq < 11700UL) ? 0 : 1; + if (freq < 11700UL) freq -= 9750UL; else freq -= 10600UL; |