summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-07-16 15:30:48 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-07-16 15:30:48 +0200
commit94fa4861f8cc20f6c1b50a6d9f4f25ad6d3ce115 (patch)
tree9b3c6df32f5bb5893ade469bf7d8cfee3d25ed36
parentd0179ea21969cdc9c8d98154b84fd0106be83078 (diff)
downloadvdr-94fa4861f8cc20f6c1b50a6d9f4f25ad6d3ce115.tar.gz
vdr-94fa4861f8cc20f6c1b50a6d9f4f25ad6d3ce115.tar.bz2
Polarization can now be uppercase or lowercase in channels.conf
-rw-r--r--HISTORY2
-rw-r--r--dvbapi.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 35d36e5a..5406d8a5 100644
--- a/HISTORY
+++ b/HISTORY
@@ -80,3 +80,5 @@ Video Disk Recorder Revision History
- Channel names and timer filenames can now contain blanks. To avoid problems
with file names that contain blanks, all blanks in recording file names are
converted to underscores.
+- The polarization can now be given in uppercase or lowercase characters in
+ channels.conf.
diff --git a/dvbapi.c b/dvbapi.c
index d8d2e57a..b6f34143 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -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;