rtspsrc: Fix handling of * control path

Regression introduced by 7f9d689572.
Thanks to Tristan Matthews for reporting this.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4566>
This commit is contained in:
Sebastian Dröge 2023-04-27 13:00:42 +03:00 committed by GStreamer Marge Bot
parent 694ad96545
commit 8ddf69b681

View file

@ -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);
}