mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
gio: Use OPEN_READ instead of NOT_FOUND if a location is not mounted
This commit is contained in:
parent
a8896413a0
commit
7228ba6acd
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ gst_gio_src_get_stream (GstGioBaseSrc * bsrc)
|
|||
gst_structure_new ("not-mounted", "file", G_TYPE_FILE, src->file,
|
||||
"uri", G_TYPE_STRING, uri, NULL)));
|
||||
|
||||
GST_ELEMENT_ERROR (src, RESOURCE, NOT_FOUND, (NULL),
|
||||
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, (NULL),
|
||||
("Location %s not mounted: %s", uri, err->message));
|
||||
} else {
|
||||
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, (NULL),
|
||||
|
|
Loading…
Reference in a new issue