]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
otamux: do not requeue muxes with failed scan status
authorJaroslav Kysela <perex@perex.cz>
Tue, 20 Jan 2015 19:40:05 +0000 (20:40 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 20 Jan 2015 19:40:11 +0000 (20:40 +0100)
src/epggrab/otamux.c

index 167c7787fa7ac60f6543ed4b9858caabe2c8abc9..80cb3c009bbb5bc5c298f0d3dc0d6f7d00a64868 100644 (file)
@@ -192,7 +192,7 @@ epggrab_ota_done ( epggrab_ota_mux_t *om, int reason )
   om->om_q_type = EPGGRAB_OTA_MUX_IDLE;
   if (reason == EPGGRAB_OTA_DONE_STOLEN) {
     /* Do not requeue completed muxes */
-    if (!om->om_done && om->om_requeue) {
+    if (!om->om_done && om->om_requeue && mm->mm_scan_result != MM_SCAN_FAIL) {
       TAILQ_INSERT_HEAD(&epggrab_ota_pending, om, om_q_link);
       om->om_q_type = EPGGRAB_OTA_MUX_PENDING;
     } else {