mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
gio: Use OPEN_WRITE instead of OPEN_READ as error category in giosink
This commit is contained in:
parent
ce08823dc5
commit
a8896413a0
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ gst_gio_sink_get_stream (GstGioBaseSink * bsink)
|
|||
GST_ELEMENT_ERROR (sink, RESOURCE, NOT_FOUND, (NULL),
|
||||
("Could not open location %s for writing: %s", uri, err->message));
|
||||
else
|
||||
GST_ELEMENT_ERROR (sink, RESOURCE, OPEN_READ, (NULL),
|
||||
GST_ELEMENT_ERROR (sink, RESOURCE, OPEN_WRITE, (NULL),
|
||||
("Could not open location %s for writing: %s", uri, err->message));
|
||||
|
||||
g_clear_error (&err);
|
||||
|
|
Loading…
Reference in a new issue