]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
network discovery: fix the wrong condition for the satellite position update
authorJaroslav Kysela <perex@perex.cz>
Mon, 12 Dec 2016 16:26:00 +0000 (17:26 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 12 Dec 2016 16:26:00 +0000 (17:26 +0100)
src/input/mpegts/mpegts_network_dvb.c

index 313973a796b0b85a3c13eef20303139153a6c72e..e7d8caf40f73cea8ec0e465d3d87679714d1169a 100644 (file)
@@ -720,7 +720,7 @@ dvb_network_create_mux
     tuning_new = tuning_old = lm->lm_tuning;
     /* Always save the orbital position */
     if (dmc->dmc_fe_type == DVB_TYPE_S) {
-      if (tuning_new.u.dmc_fe_qpsk.orbital_pos == INT_MAX ||
+      if (dmc->u.dmc_fe_qpsk.orbital_pos == INT_MAX ||
           dvb_network_check_orbital_pos(tuning_new.u.dmc_fe_qpsk.orbital_pos,
                                         dmc->u.dmc_fe_qpsk.orbital_pos)) {
         save |= COMPARE(u.dmc_fe_qpsk.orbital_pos, CBIT_ORBITAL_POS);