msmith gstreamer: gstreamer/ gstreamer/plugins/elements/

[email protected]
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gstreamer
Changes by:     msmith
Date:           Fri Nov 21 2008  18:26:28 UTC

Log message:
    * plugins/elements/gstfilesrc.c:
      Check for localhost in URI was backwards, fix it. Fixes unit test.

Modified files:
    .               : ChangeLog
    plugins/elements: gstfilesrc.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.4170&r2=1.4171
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/plugins/elements/gstfilesrc.c.diff?r1=1.166&r2=1.167

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v
retrieving revision 1.4170
retrieving revision 1.4171
diff -u -d -r1.4170 -r1.4171
--- ChangeLog	21 Nov 2008 17:14:46 -0000	1.4170
+++ ChangeLog	21 Nov 2008 18:26:11 -0000	1.4171
@@ -1,3 +1,8 @@
+2008-11-21  Michael Smith <[email protected]>
+
+	* plugins/elements/gstfilesrc.c:
+	  Check for localhost in URI was backwards, fix it. Fixes unit test.
 2008-11-21  Wim Taymans  <[email protected]>
 
 	* libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
Index: gstfilesrc.c
RCS file: /cvs/gstreamer/gstreamer/plugins/elements/gstfilesrc.c,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- gstfilesrc.c	20 Nov 2008 21:05:14 -0000	1.166
+++ gstfilesrc.c	21 Nov 2008 18:26:14 -0000	1.167
@@ -1120,7 +1120,7 @@
   }
   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);

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.