]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mpegts network: create new muxes when delivery system does not match, fixes #2544
authorJaroslav Kysela <perex@perex.cz>
Fri, 12 Dec 2014 10:45:50 +0000 (11:45 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 12 Dec 2014 10:45:50 +0000 (11:45 +0100)
src/input/mpegts/mpegts_network_dvb.c

index 1b37c8149cc6d9dd392c1de79c1b783d835dbd72..601b1e12303846fbee3cd2aedf16aab542e0d1a0 100644 (file)
@@ -285,6 +285,9 @@ dvb_network_find_mux
     /* Same FE type - this REALLY should match! */
     if (lm->lm_tuning.dmc_fe_type != dmc->dmc_fe_type) continue;
 
+    /* Also, the system type should match (DVB-S/DVB-S2) */
+    if (lm->lm_tuning.dmc_fe_delsys != dmc->dmc_fe_delsys) continue;
+
     /* if ONID/TSID are a perfect match (and this is DVB-S, allow greater deltaf) */
     if (lm->lm_tuning.dmc_fe_type == DVB_TYPE_S) {
       deltar = 10000;
@@ -444,7 +447,6 @@ dvb_network_create_mux
       lm->lm_tuning.dmc_fe_freq = dmc->dmc_fe_freq;
       save = 1;
     }
-    save |= COMPAREN(dmc_fe_delsys);
     save |= COMPAREN(dmc_fe_modulation);
     save |= COMPAREN(dmc_fe_inversion);
     save |= COMPAREN(dmc_fe_rolloff);