rtspsrc: Fix regression when using hostname in the location property
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 16 Nov 2022 08:03:39 +0000 (13:33 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 16 Nov 2022 11:30:26 +0000 (11:30 +0000)
commit13723198a1ba2d927f5014fdf459d53a0800c462
treec4a0ecf65969afed6840e3e20248d60ef6e3bc95
parentc39400b52c24966354a1b1761c55a4c8350b3f03
rtspsrc: Fix regression when using hostname in the location property

When the address can't be parsed as an IP address, it should just be
treated as a hostname and used as-is.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1576

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3420>
subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c