]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix parsing error with progress 'prgr' metadata
authorMike Brady <mikebrady@eircom.net>
Thu, 3 Jan 2019 10:48:54 +0000 (10:48 +0000)
committerMike Brady <mikebrady@eircom.net>
Thu, 3 Jan 2019 10:48:54 +0000 (10:48 +0000)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index bf0ad37005635cf363d0ac0670fd26b75c21af70..74d1c54fb0a99b0972fbba13704fb2fece81bb1a 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -1034,8 +1034,8 @@ void handle_set_parameter_parameter(rtsp_conn_info *conn, rtsp_message *req,
     } else
 #ifdef CONFIG_METADATA
         if (!strncmp(cp, "progress: ", strlen("progress: "))) {
-      char *progress = cp + strlen("volume: ");
-      // debug(2, "progress: \"%s\"\n",progress); // rtpstampstart/rtpstampnow/rtpstampend 44100 per
+      char *progress = cp + strlen("progress: ");
+      // debug(2, "progress: \"%s\"",progress); // rtpstampstart/rtpstampnow/rtpstampend 44100 per
       // second
       send_ssnc_metadata('prgr', strdup(progress), strlen(progress), 1);