mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 10:42:22 +00:00
ext/gnomevfs/gstgnomevfssrc.c: Fix error code for file-not-found to NOT_FOUND.
Original commit message from CVS: * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_start): Fix error code for file-not-found to NOT_FOUND.
This commit is contained in:
parent
e571f069d1
commit
ba32f38042
2 changed files with 14 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
|
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_start):
|
||||||
|
Fix error code for file-not-found to NOT_FOUND.
|
||||||
|
|
||||||
2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* common/gtk-doc-plugins.mak:
|
* common/gtk-doc-plugins.mak:
|
||||||
|
|
|
@ -1095,9 +1095,15 @@ gst_gnomevfssrc_start (GstBaseSrc * basesrc)
|
||||||
gst_gnomevfssrc_pop_callbacks (src);
|
gst_gnomevfssrc_pop_callbacks (src);
|
||||||
audiocast_thread_kill (src);
|
audiocast_thread_kill (src);
|
||||||
|
|
||||||
|
if (res == GNOME_VFS_ERROR_NOT_FOUND) {
|
||||||
|
GST_ELEMENT_ERROR (src, RESOURCE, NOT_FOUND, (NULL),
|
||||||
|
("Could not open vfs file \"%s\" for reading: %s",
|
||||||
|
filename, gnome_vfs_result_to_string (res)));
|
||||||
|
} 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",
|
||||||
filename, gnome_vfs_result_to_string (res)));
|
filename, gnome_vfs_result_to_string (res)));
|
||||||
|
}
|
||||||
g_free (filename);
|
g_free (filename);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue