From ef89bac18172d3a2df65dca391355aa95ee4df07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 27 Apr 2023 13:00:42 +0300 Subject: [PATCH] rtspsrc: Fix handling of `*` control path Regression introduced by 7f9d689572843ff9e0b8a92128034a8fc4a14d96. Thanks to Tristan Matthews for reporting this. Part-of: --- subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c index 2971e43613..b54a31d648 100644 --- a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c +++ b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c @@ -2449,7 +2449,7 @@ gst_rtspsrc_create_stream (GstRTSPSrc * src, GstSDPMessage * sdp, gint idx, base = get_aggregate_control (src); if (g_strcmp0 (control_path, "*") == 0) - control_path = g_strdup (base); + stream->conninfo.location = g_strdup (base); else stream->conninfo.location = gst_uri_join_strings (base, control_path); }