From: Jaroslav Kysela Date: Mon, 4 Jan 2016 19:52:30 +0000 (+0100) Subject: htsp_server: fix htsp_subscription_speed() - speed can be negative X-Git-Tag: v4.2.1~1227 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fdf8dcb36d0a3413c2868dcef2fef71b2c969c53;p=thirdparty%2Ftvheadend.git htsp_server: fix htsp_subscription_speed() - speed can be negative --- diff --git a/src/htsp_server.c b/src/htsp_server.c index 9f4330e75..c75498227 100644 --- a/src/htsp_server.c +++ b/src/htsp_server.c @@ -4015,7 +4015,7 @@ htsp_subscription_speed(htsp_subscription_t *hs, int speed) tvhdebug("htsp", "%s - subscription speed", hs->hs_htsp->htsp_logname); htsmsg_add_str(m, "method", "subscriptionSpeed"); htsmsg_add_u32(m, "subscriptionId", hs->hs_sid); - htsmsg_add_u32(m, "speed", speed); + htsmsg_add_s32(m, "speed", speed); htsp_send_subscription(hs->hs_htsp, m, NULL, hs, 0); }