diff --git a/ChangeLog b/ChangeLog index 86e245c1f1..1d332f6304 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-11-21 Michael Smith + + * plugins/elements/gstfilesrc.c: + Check for localhost in URI was backwards, fix it. Fixes unit test. + 2008-11-21 Wim Taymans * libs/gst/base/gstbasetransform.c: (gst_base_transform_init), diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index 6d63152f5f..d9bc69990e 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -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);