From 60e67b51fcc20791716465fe6551018576a0a232 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 22 Jan 2016 16:56:31 +0100 Subject: [PATCH] SAT>IP client: fix passing of tvhweight --- src/input/mpegts/satip/satip_rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/mpegts/satip/satip_rtsp.c b/src/input/mpegts/satip/satip_rtsp.c index 99e168c99..4ea84677b 100644 --- a/src/input/mpegts/satip/satip_rtsp.c +++ b/src/input/mpegts/satip/satip_rtsp.c @@ -300,7 +300,7 @@ satip_rtsp_play( http_client_t *hc, const char *pids, } } if (weight) - htsbuf_qprintf(&q, "tvhweight=%d", weight); + htsbuf_qprintf(&q, "%stvhweight=%d", htsbuf_empty(&q) ? "" : "&", weight); if (hc->hc_rtsp_stream_id >= 0) snprintf(stream = _stream, sizeof(_stream), "/stream=%li", hc->hc_rtsp_stream_id); -- 2.47.3