From 94fa4861f8cc20f6c1b50a6d9f4f25ad6d3ce115 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 16 Jul 2000 15:30:48 +0200 Subject: Polarization can now be uppercase or lowercase in channels.conf --- HISTORY | 2 ++ dvbapi.c | 4 ++-- 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; -- cgit v1.2.3