]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
IPTV: another stream limiter fixup, fixes #3732
authorJaroslav Kysela <perex@perex.cz>
Fri, 7 Apr 2017 06:37:52 +0000 (08:37 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 7 Apr 2017 06:37:52 +0000 (08:37 +0200)
src/input/mpegts/iptv/iptv.c

index a68e5e9c54b8fef0fbc18b6013cd82bfa4f95798..7d822042d17bffbf3ad3c56ce6b1a0432a74efda 100644 (file)
@@ -185,7 +185,7 @@ iptv_input_is_free ( mpegts_input_t *mi, mpegts_mux_t *mm,
 
   /* Limit reached */
   w = h;
-  if (conf->warm) w += l;
+  if (conf->weight || conf->warm) w += l;
   if (in->in_max_streams && w >= in->in_max_streams)
     if (rmmi->mmi_mux != mm)
       return rmmi;