Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htsp_server: fix htsp_subscription_speed() - speed can be negative
  • Loading branch information
perexg committed Jan 4, 2016
1 parent bd69326 commit fdf8dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/htsp_server.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit fdf8dcb

Please sign in to comment.