ext/gnomevfs/gstgnomevfssrc.c: SERVICE_NOT_AVAILABLE happens for example when you...
authorThomas Vander Stichele <thomas@apestaart.org>
Mon, 30 Jan 2006 18:17:19 +0000 (18:17 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Mon, 30 Jan 2006 18:17:19 +0000 (18:17 +0000)
Original commit message from CVS:

* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_start):
SERVICE_NOT_AVAILABLE happens for example when you're trying to
play an http:// stream from a server that's not serving

ChangeLog
ext/gnomevfs/gstgnomevfssrc.c

index 3afc32a..4f23fe5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-30  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_start):
+         SERVICE_NOT_AVAILABLE happens for example when you're trying to
+         play an http:// stream from a server that's not serving
+
 2006-01-30  Andy Wingo  <wingo@pobox.com>
 
        * tests/check/pipelines/vorbisenc.c (TIMESTAMP_OFFSET): 
index 56f141e..4837872 100644 (file)
@@ -1088,7 +1088,8 @@ gst_gnome_vfs_src_start (GstBaseSrc * basesrc)
       gst_gnome_vfs_src_pop_callbacks (src);
       audiocast_thread_kill (src);
 
-      if (res == GNOME_VFS_ERROR_NOT_FOUND) {
+      if (res == GNOME_VFS_ERROR_NOT_FOUND ||
+          res == GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE) {
         GST_ELEMENT_ERROR (src, RESOURCE, NOT_FOUND, (NULL),
             ("Could not open vfs file \"%s\" for reading: %s",
                 filename, gnome_vfs_result_to_string (res)));