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 3afc32aa8e82ae824da967e31a1cc4de7c83dec5..4f23fe5679328ad44a582c6af166950963fe7c00 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 56f141e1942255a7f93aebf481c5071833ea86f7..48378723fb5950240ced35a003b33f8a4d617c81 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)));