]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
satip: pass specinv by default for DVB-C, fixes #5231
authorJaroslav Kysela <perex@perex.cz>
Mon, 1 Oct 2018 08:11:55 +0000 (10:11 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 1 Oct 2018 08:11:55 +0000 (10:11 +0200)
src/input/mpegts/satip/satip_frontend.c

index defa968d8860c0e829d77bc13247df83ae4ba9f7..cae05c400568cd46a0601b0543e633c407fba4ee 100644 (file)
@@ -2183,6 +2183,8 @@ satip_frontend_hacks( satip_frontend_t *lfe )
 
   lfe->sf_tdelay = 50; /* should not hurt anything */
   lfe->sf_pass_weight = 1;
+  if (lfe->sf_type == DVB_TYPE_C)
+    lfe->sf_specinv = 1;
   if (strstr(sd->sd_info.location, ":8888/octonet.xml")) {
     if (lfe->sf_type == DVB_TYPE_S)
       lfe->sf_play2 = 1;
@@ -2192,7 +2194,6 @@ satip_frontend_hacks( satip_frontend_t *lfe )
               strstr(sd->sd_info.modelname, "FRITZ!")) {
     lfe->sf_play2 = 1;
   } else if (strstr(sd->sd_info.modelname, "EyeTV Netstream 4C")) {
-    lfe->sf_specinv = 1;
     lfe->sf_pass_weight = 0;
   }
 }