mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +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,
|
gst_structure_new ("not-mounted", "file", G_TYPE_FILE, src->file,
|
||||||
"uri", G_TYPE_STRING, uri, NULL)));
|
"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));
|
("Location %s not mounted: %s", uri, err->message));
|
||||||
} else {
|
} else {
|
||||||
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, (NULL),
|
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, (NULL),
|
||||||
|
|
Loading…
Reference in a new issue