diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-07-16 15:30:48 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-07-16 15:30:48 +0200 |
commit | 94fa4861f8cc20f6c1b50a6d9f4f25ad6d3ce115 (patch) | |
tree | 9b3c6df32f5bb5893ade469bf7d8cfee3d25ed36 /dvbapi.c | |
parent | d0179ea21969cdc9c8d98154b84fd0106be83078 (diff) | |
download | vdr-94fa4861f8cc20f6c1b50a6d9f4f25ad6d3ce115.tar.gz vdr-94fa4861f8cc20f6c1b50a6d9f4f25ad6d3ce115.tar.bz2 |
Polarization can now be uppercase or lowercase in channels.conf
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 4 |
1 files changed, 2 insertions, 2 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.13 2000/07/15 16:03:13 kls Exp $ + * $Id: dvbapi.c 1.14 2000/07/16 15:28:50 kls Exp $ */ #include "dvbapi.h" @@ -1337,7 +1337,7 @@ bool cDvbApi::SetChannel(int FrequencyMHz, char Polarization, int Diseqc, int Sr front.freq = freq * 1000000UL; front.diseqc = Diseqc; front.srate = Srate * 1000; - front.volt = (Polarization == 'v') ? 0 : 1; + front.volt = (Polarization == 'v' || Polarization == 'V') ? 0 : 1; front.video_pid = Vpid; front.audio_pid = Apid; front.fec = 8; |