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 --- dvbapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dvbapi.c') 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