From abea248babeab8bf619a692e378da2e0737efb35 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 20 Jan 2015 20:40:05 +0100 Subject: [PATCH] otamux: do not requeue muxes with failed scan status --- src/epggrab/otamux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/epggrab/otamux.c b/src/epggrab/otamux.c index 167c7787..80cb3c00 100644 --- a/src/epggrab/otamux.c +++ b/src/epggrab/otamux.c @@ -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 {