Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP client: fix passing of tvhweight
  • Loading branch information
perexg committed Jan 22, 2016
1 parent b756409 commit 60e67b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/satip/satip_rtsp.c
Expand Up @@ -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);
Expand Down

0 comments on commit 60e67b5

Please sign in to comment.