mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
gst/udp/gstudpsrc.c: Fix parsing of udp:// URIs containing IPv6 addresses.
Original commit message from CVS: Patch by: Tero Saarni <tero dot saarni at gmail dot com> * gst/udp/gstudpsrc.c: (gst_udpsrc_set_uri): Fix parsing of udp:// URIs containing IPv6 addresses. Fixes bug #541650.
This commit is contained in:
parent
26c7c7c319
commit
cf3286dac7
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
Patch by: Tero Saarni <tero dot saarni at gmail dot com>
|
||||
|
||||
* gst/udp/gstudpsrc.c: (gst_udpsrc_set_uri):
|
||||
Fix parsing of udp:// URIs containing IPv6 addresses.
|
||||
Fixes bug #541650.
|
||||
|
||||
2008-07-04 Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
|
||||
|
||||
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_chain):
|
||||
|
|
|
@ -593,7 +593,7 @@ gst_udpsrc_set_uri (GstUDPSrc * src, const gchar * uri)
|
|||
location = gst_uri_get_location (uri);
|
||||
if (!location)
|
||||
return FALSE;
|
||||
colptr = strstr (location, ":");
|
||||
colptr = strrchr (location, ':');
|
||||
if (colptr != NULL) {
|
||||
g_free (src->multi_group);
|
||||
src->multi_group = g_strndup (location, colptr - location);
|
||||
|
|
Loading…
Reference in a new issue