From: Jaroslav Kysela Date: Tue, 12 May 2015 14:32:35 +0000 (+0200) Subject: SAT>IP client: fix the force grace timeout for slaves X-Git-Tag: v4.1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=477feabd982929f7f397c2db096b06853879c9ae;p=thirdparty%2Ftvheadend.git SAT>IP client: fix the force grace timeout for slaves --- diff --git a/src/input/mpegts/satip/satip_frontend.c b/src/input/mpegts/satip/satip_frontend.c index 92ebacf33..73eac473d 100644 --- a/src/input/mpegts/satip/satip_frontend.c +++ b/src/input/mpegts/satip/satip_frontend.c @@ -377,7 +377,7 @@ satip_frontend_get_grace ( mpegts_input_t *mi, mpegts_mux_t *mm ) { satip_frontend_t *lfe = (satip_frontend_t*)mi; int r = 5; - if (lfe->sf_positions) + if (lfe->sf_positions || lfe->sf_master) r = MIN(60, MAX(r, satip_satconf_get_grace(lfe, mm) ?: 10)); return r; }