summaryrefslogtreecommitdiff
path: root/rtsp.c
diff options
context:
space:
mode:
authorMike Brady <mikebrady@eircom.net>2018-01-13 20:15:27 +0000
committerMike Brady <mikebrady@eircom.net>2018-01-13 20:15:27 +0000
commite0aa75a80cbca899c1ac6f803c6a4a9bf3a1d3a6 (patch)
treeedc237bfca3e562bb6924beb32662c9e713b7684 /rtsp.c
parent6d792fa0ef40e04843c6ed228e7bdff9a330d2c5 (diff)
pretty-print after adding alsa volume-based mute capability
Diffstat (limited to 'rtsp.c')
-rw-r--r--rtsp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/rtsp.c b/rtsp.c
index 7f1769c..c28b4a0 100644
--- a/rtsp.c
+++ b/rtsp.c
@@ -771,7 +771,7 @@ static void handle_setup(rtsp_conn_info *conn, rtsp_message *req, rtsp_message *
send_metadata('ssnc', 'daid', ar, strlen(ar), req, 1);
#endif
}
-
+
char *hdr = msg_get_header(req, "Transport");
if (!hdr)
goto error;
@@ -1197,7 +1197,7 @@ void *metadata_thread_function(void *ignore) {
pc_queue_get_item(&metadata_queue, &pack);
if (config.metadata_enabled)
metadata_process(pack.type, pack.code, pack.data, pack.length);
-
+
if (pack.carrier)
msg_free(pack.carrier); // release the message
else if (pack.data)
@@ -1473,18 +1473,18 @@ static void handle_announce(rtsp_conn_info *conn, rtsp_message *req, rtsp_messag
if (!strncmp(cp, "a=max-latency:", 14))
pmaxlatency = cp + 14;
-
+
cp = next;
}
-
+
if (pminlatency) {
conn->minimum_latency = atoi(pminlatency);
- debug(1,"Minimum latency %d specified",conn->minimum_latency);
+ debug(1, "Minimum latency %d specified", conn->minimum_latency);
}
if (pmaxlatency) {
conn->maximum_latency = atoi(pmaxlatency);
- debug(1,"Maximum latency %d specified",conn->maximum_latency);
+ debug(1, "Maximum latency %d specified", conn->maximum_latency);
}
if ((paesiv == NULL) && (prsaaeskey == NULL)) {