From: Thomas Vander Stichele Date: Mon, 30 Jan 2006 18:17:19 +0000 (+0000) Subject: ext/gnomevfs/gstgnomevfssrc.c: SERVICE_NOT_AVAILABLE happens for example when you... X-Git-Tag: 1.19.3~511^2~12265 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f905bd710185a68839712a13bf420fd3969e3d2;p=platform%2Fupstream%2Fgstreamer.git ext/gnomevfs/gstgnomevfssrc.c: SERVICE_NOT_AVAILABLE happens for example when you're trying to play an stream... 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 --- diff --git a/ChangeLog b/ChangeLog index 3afc32aa8e..4f23fe5679 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-01-30 Thomas Vander Stichele + + * 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 * tests/check/pipelines/vorbisenc.c (TIMESTAMP_OFFSET): diff --git a/ext/gnomevfs/gstgnomevfssrc.c b/ext/gnomevfs/gstgnomevfssrc.c index 56f141e194..48378723fb 100644 --- a/ext/gnomevfs/gstgnomevfssrc.c +++ b/ext/gnomevfs/gstgnomevfssrc.c @@ -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)));