Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Approx satip match (pola is mandatory)
  • Loading branch information
TheTroll authored and perexg committed Aug 24, 2016
1 parent c53ee12 commit d2fd542
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/input/mpegts/mpegts_network_dvb.c
Expand Up @@ -539,6 +539,9 @@ dvb_network_find_mux
/* Reject if not same symbol rate (some tolerance due to changes and diff in NIT) */
if (dvb_network_check_symbol_rate(lm, dmc, deltar)) continue;

/* Reject if not same polarisation */
if (lm->lm_tuning.u.dmc_fe_qpsk.polarisation != dmc->u.dmc_fe_qpsk.polarisation) continue;

/* DVB-S extra checks */
if (!approx_match && (lm->lm_tuning.dmc_fe_type == DVB_TYPE_S)) {

Expand All @@ -550,9 +553,6 @@ dvb_network_find_mux
/* Same FEC */
if (lm->lm_tuning.u.dmc_fe_qpsk.fec_inner != dmc->u.dmc_fe_qpsk.fec_inner) continue;

/* Same polarisation */
if (lm->lm_tuning.u.dmc_fe_qpsk.polarisation != dmc->u.dmc_fe_qpsk.polarisation) continue;

/* Same orbital position */
if (dvb_network_check_orbital_pos(lm->lm_tuning.u.dmc_fe_qpsk.orbital_pos,
dmc->u.dmc_fe_qpsk.orbital_pos)) continue;
Expand Down

0 comments on commit d2fd542

Please sign in to comment.