]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
fastscan fix for last changes
authorJaroslav Kysela <perex@perex.cz>
Wed, 9 Dec 2015 21:12:51 +0000 (22:12 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 9 Dec 2015 21:12:51 +0000 (22:12 +0100)
src/input/mpegts/mpegts_network_scan.c

index 5e05bac4f1f90e35728dbd745cbe3763813e4752..3ec575a5dc3809a099c1f1c7345bb7ef074c368e 100644 (file)
@@ -339,9 +339,9 @@ tsid_lookup:
     pol[1] = '\0';
     src += l;
 
-    if ((l = startswith(src, "DVBS2,")) > 0)
+    if ((l = startswith(src, "DVBS2,")) > 0 || (l = startswith(src, "DVBS-2,")) > 0)
       dvbs2 = 1;
-    else if ((l = startswith(src, "DVBS,")) > 0)
+    else if ((l = startswith(src, "DVBS,")) > 0 || (l = startswith(src, "DVB-S,")) > 0)
       dvbs2 = 0;
     else
       return;