mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
ext/gnomevfs/gstgnomevfssrc.c: Map a gnome-vfs HOST_NOT_FOUND error into a GStreamer NOT_FOUND error code as well.
Original commit message from CVS: * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_start): Map a gnome-vfs HOST_NOT_FOUND error into a GStreamer NOT_FOUND error code as well.
This commit is contained in:
parent
ce1ff3c94c
commit
3b3320ac38
2 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_start):
|
||||||
|
Map a gnome-vfs HOST_NOT_FOUND error into a GStreamer NOT_FOUND
|
||||||
|
error code as well.
|
||||||
|
|
||||||
2007-01-25 Wim Taymans <wim@fluendo.com>
|
2007-01-25 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/playback/gstplaybasebin.c: (remove_source):
|
* gst/playback/gstplaybasebin.c: (remove_source):
|
||||||
|
|
|
@ -854,14 +854,15 @@ open_failed:
|
||||||
gst_gnome_vfs_src_pop_callbacks (src);
|
gst_gnome_vfs_src_pop_callbacks (src);
|
||||||
|
|
||||||
if (res == GNOME_VFS_ERROR_NOT_FOUND ||
|
if (res == GNOME_VFS_ERROR_NOT_FOUND ||
|
||||||
|
res == GNOME_VFS_ERROR_HOST_NOT_FOUND ||
|
||||||
res == GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE) {
|
res == GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE) {
|
||||||
GST_ELEMENT_ERROR (src, RESOURCE, NOT_FOUND, (NULL),
|
GST_ELEMENT_ERROR (src, RESOURCE, NOT_FOUND, (NULL),
|
||||||
("Could not open vfs file \"%s\" for reading: %s",
|
("Could not open vfs file \"%s\" for reading: %s (%d)",
|
||||||
filename, gnome_vfs_result_to_string (res)));
|
filename, gnome_vfs_result_to_string (res), res));
|
||||||
} else {
|
} else {
|
||||||
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, (NULL),
|
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, (NULL),
|
||||||
("Could not open vfs file \"%s\" for reading: %s",
|
("Could not open vfs file \"%s\" for reading: %s (%d)",
|
||||||
filename, gnome_vfs_result_to_string (res)));
|
filename, gnome_vfs_result_to_string (res), res));
|
||||||
}
|
}
|
||||||
g_free (filename);
|
g_free (filename);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue