mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
plugins/elements/gstfilesrc.c: Check for localhost in URI was backwards, fix it. Fixes unit test.
Original commit message from CVS: * plugins/elements/gstfilesrc.c: Check for localhost in URI was backwards, fix it. Fixes unit test.
This commit is contained in:
parent
c0e491cdca
commit
42c08ab20f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-11-21 Michael Smith <msmith@songbirdnest.com>
|
||||
|
||||
* plugins/elements/gstfilesrc.c:
|
||||
Check for localhost in URI was backwards, fix it. Fixes unit test.
|
||||
|
||||
2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
|
||||
|
|
|
@ -1120,7 +1120,7 @@ gst_file_src_uri_set_uri (GstURIHandler * handler, const gchar * uri)
|
|||
}
|
||||
|
||||
if (hostname) {
|
||||
if (!strcmp (hostname, "localhost")) {
|
||||
if (strcmp (hostname, "localhost")) {
|
||||
/* Only 'localhost' is permitted */
|
||||
GST_WARNING_OBJECT (src, "Invalid hostname '%s' for filesrc", hostname);
|
||||
g_free (hostname);
|
||||
|
|
Loading…
Reference in a new issue