From 3f905bd710185a68839712a13bf420fd3969e3d2 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 30 Jan 2006 18:17:19 +0000 Subject: [PATCH] ext/gnomevfs/gstgnomevfssrc.c: SERVICE_NOT_AVAILABLE happens for example when you're trying to play an http:// 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 --- ChangeLog | 6 ++++++ ext/gnomevfs/gstgnomevfssrc.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3afc32aa8..4f23fe567 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 56f141e19..48378723f 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))); -- 2.34.1