good:rtsp: Remove unnecessary const 11/300411/2 accepted/tizen/8.0/unified/20231031.064240
authorjiyong.min <jiyong.min@samsung.com>
Tue, 24 Oct 2023 07:24:03 +0000 (16:24 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Tue, 24 Oct 2023 07:26:28 +0000 (16:26 +0900)
Change-Id: Id43291c576ffc137217571640289936faca228b5

subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c

index f8e97cd48e974a904f06d28d8d71ac107f26706c..67038308b2cebd9bb2d2b495e2adf7b62a983286 100644 (file)
@@ -2620,7 +2620,7 @@ gst_rtspsrc_create_stream (GstRTSPSrc * src, GstSDPMessage * sdp, gint idx,
          * So we added slash at the end of uri and we will monitor this issue. */
         if (!g_str_has_suffix (base, "/")) {
           /* base with slash added at the end of uri */
-          const gchar *base2 = g_strconcat(base, "/", NULL);
+          gchar *base2 = g_strconcat(base, "/", NULL);
           stream->conninfo.location = gst_uri_join_strings (base2, control_path);
           g_free(base2);
         } else {