From 953dfa0f3fde021ca8204113c7d7aeb3d5bdf9af Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 19 Mar 2015 12:50:07 +0100 Subject: [PATCH] SAT>IP Server: fix bandwidth parsing --- src/satip/rtsp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/satip/rtsp.c b/src/satip/rtsp.c index 002fc465..495583fa 100644 --- a/src/satip/rtsp.c +++ b/src/satip/rtsp.c @@ -621,6 +621,7 @@ bw_to_tvh(http_connection_t *hc) { int bw = atof(http_arg_get_remove(&hc->hc_req_args, "bw")) * 1000; switch (bw) { + case 0: return DVB_BANDWIDTH_AUTO; case DVB_BANDWIDTH_1_712_MHZ: case DVB_BANDWIDTH_5_MHZ: case DVB_BANDWIDTH_6_MHZ: