diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-03-06 12:01:17 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-03-06 12:01:17 +0100 |
commit | ab9af4cea16b6d3875e60b7809c02f3b6794e6b4 (patch) | |
tree | c7f2d476e2d010372b1bb8bd94b36cd5d6f026dd /sourceparams.c | |
parent | 3e09f8565dde0e362549a1896352753483f6615c (diff) | |
download | vdr-ab9af4cea16b6d3875e60b7809c02f3b6794e6b4.tar.gz vdr-ab9af4cea16b6d3875e60b7809c02f3b6794e6b4.tar.bz2 |
Added support for ATSC devices
Diffstat (limited to 'sourceparams.c')
-rw-r--r-- | sourceparams.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sourceparams.c b/sourceparams.c index 9a55540b..04317895 100644 --- a/sourceparams.c +++ b/sourceparams.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: sourceparams.c 1.1 2010/02/28 12:15:49 kls Exp $ + * $Id: sourceparams.c 1.2 2010/03/06 11:13:39 kls Exp $ */ #include "sourceparams.h" @@ -21,7 +21,7 @@ cSourceParam::cSourceParam(char Source, const char *Description) return; } SourceParams.Add(this); - if (Source != 'C' && Source != 'S' && Source != 'T') + if (!strchr("ACST", Source)) // no, it's not "ATSC" ;-) Sources.Add(new cSource(Source, Description)); dsyslog("registered source parameters for '%c - %s'", source, Description); } |