From: Jaroslav Kysela Date: Fri, 24 Apr 2015 14:48:20 +0000 (+0200) Subject: subscriptions: fix the weight init issue caused by last commits X-Git-Tag: v4.1~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f044a72bcb1a9ec740211caeeb7cd5ef98e650;p=thirdparty%2Ftvheadend.git subscriptions: fix the weight init issue caused by last commits --- diff --git a/src/subscriptions.c b/src/subscriptions.c index 56415a561..9ac7d2366 100644 --- a/src/subscriptions.c +++ b/src/subscriptions.c @@ -654,6 +654,8 @@ subscription_create if (s->ths_prch) s->ths_weight = profile_chain_weight(s->ths_prch, weight); + else + s->ths_weight = weight; if (pro && pro->pro_restart) s->ths_flags |= SUBSCRIPTION_RESTART;