]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
SAT>IP client: fix the force grace timeout for slaves
authorJaroslav Kysela <perex@perex.cz>
Tue, 12 May 2015 14:32:35 +0000 (16:32 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 12 May 2015 14:32:35 +0000 (16:32 +0200)
src/input/mpegts/satip/satip_frontend.c

index 92ebacf33a3cbe9a735bd87a04eb8653116f856b..73eac473d3312d9aea83b976f4b5eaa101279a9b 100644 (file)
@@ -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;
 }