summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-04-27 13:00:42 +0300
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2023-05-06 20:39:29 +0000
commit8ddf69b68197be23887f3c34e825dd3c57d292f3 (patch)
tree6435a18468ecdc16a3a173bafa55a7cfb399028e
parent694ad96545aedfaf2b859b57638dc7455c6e17ae (diff)
rtspsrc: Fix handling of `*` control path
Regression introduced by 7f9d689572843ff9e0b8a92128034a8fc4a14d96. Thanks to Tristan Matthews for reporting this. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4566>
-rw-r--r--subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c
index e9a6c31866..6526ef54cd 100644
--- a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c
+++ b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c
@@ -2392,7 +2392,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);
}