From: Jaroslav Kysela Date: Wed, 9 Dec 2015 21:07:45 +0000 (+0100) Subject: dvb type: add support also for short names (without minus) X-Git-Tag: v4.2.1~1325 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe7ac7f8837e41dab971ca184abb3bc1f15cb4d8;p=thirdparty%2Ftvheadend.git dvb type: add support also for short names (without minus) --- diff --git a/src/input/mpegts/dvb_support.c b/src/input/mpegts/dvb_support.c index 73f81efad..1c7d7065c 100644 --- a/src/input/mpegts/dvb_support.c +++ b/src/input/mpegts/dvb_support.c @@ -859,7 +859,13 @@ const static struct strtab typetab[] = { {"DVB-C", DVB_TYPE_C}, {"DVB-S", DVB_TYPE_S}, {"ATSC-T", DVB_TYPE_ATSC_T}, - {"ATSC-C", DVB_TYPE_ATSC_C} + {"ATSC-C", DVB_TYPE_ATSC_C}, + {"DVBT", DVB_TYPE_T}, + {"DVBC", DVB_TYPE_C}, + {"DVBS", DVB_TYPE_S}, + {"ATSC", DVB_TYPE_ATSC_T}, + {"ATSCT", DVB_TYPE_ATSC_T}, + {"ATSCC", DVB_TYPE_ATSC_C} }; dvb_str2val(type);