From 06a07bb5eb9cdd28fc93b431dda7de98fa8a3736 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 7 Apr 2017 08:37:52 +0200 Subject: [PATCH] IPTV: another stream limiter fixup, fixes #3732 --- src/input/mpegts/iptv/iptv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/mpegts/iptv/iptv.c b/src/input/mpegts/iptv/iptv.c index a68e5e9c5..7d822042d 100644 --- a/src/input/mpegts/iptv/iptv.c +++ b/src/input/mpegts/iptv/iptv.c @@ -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; -- 2.47.3