From 7228ba6acd1c4ccf2ea01e538b08d3f76a85b82d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 8 Jul 2009 16:54:56 +0200 Subject: [PATCH] gio: Use OPEN_READ instead of NOT_FOUND if a location is not mounted --- ext/gio/gstgiosrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gio/gstgiosrc.c b/ext/gio/gstgiosrc.c index e036bc87e4..e4e39cb7b9 100644 --- a/ext/gio/gstgiosrc.c +++ b/ext/gio/gstgiosrc.c @@ -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),