Commit cf3286da authored by Tero Saarni's avatar Tero Saarni Committed by Sebastian Dröge
Browse files

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.
parent 26c7c7c3
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment