From c35fb69e33dff6a964e5851aa4cdf0b70b2e0315 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Thu, 3 Jan 2019 10:48:54 +0000 Subject: [PATCH] Fix parsing error with progress 'prgr' metadata --- rtsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtsp.c b/rtsp.c index bf0ad370..74d1c54f 100644 --- 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);