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 | |
parent | d0179ea21969cdc9c8d98154b84fd0106be83078 (diff) | |
download | vdr-94fa4861f8cc20f6c1b50a6d9f4f25ad6d3ce115.tar.gz vdr-94fa4861f8cc20f6c1b50a6d9f4f25ad6d3ce115.tar.bz2 |
Polarization can now be uppercase or lowercase in channels.conf
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | dvbapi.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -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. @@ -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; |