summaryrefslogtreecommitdiff
path: root/gst/gio
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-02-08 15:17:49 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-02-08 15:17:49 +0100
commita75e9102c571f75cf40893f1fd1955e06df35692 (patch)
tree43a81809a43dbb4cbbe7cdbcf159c78eda614722 /gst/gio
parentbd4bf43171e232fadc9ed24bcfe9a44abcb07a62 (diff)
downloadgstreamer-plugins-base-a75e9102c571f75cf40893f1fd1955e06df35692.tar.gz
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
Diffstat (limited to 'gst/gio')
-rw-r--r--gst/gio/gstgio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gio/gstgio.c b/gst/gio/gstgio.c
index 96aea3528..af797afe1 100644
--- a/gst/gio/gstgio.c
+++ b/gst/gio/gstgio.c
@@ -37,7 +37,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_gio_debug);
/* @func_name: Name of the GIO function, for debugging messages.
* @err: Error location. *err may be NULL, but err must be non-NULL.
* @ret: Flow return location. May be NULL. Is set to either #GST_FLOW_ERROR
- * or #GST_FLOW_WRONG_STATE.
+ * or #GST_FLOW_FLUSHING.
*
* Returns: TRUE to indicate a handled error. Error at given location err will
* be freed and *err will be set to NULL. A FALSE return indicates an unhandled
@@ -56,7 +56,7 @@ gst_gio_error (gpointer element, const gchar * func_name, GError ** err,
if (GST_GIO_ERROR_MATCHES (*err, CANCELLED)) {
GST_DEBUG_OBJECT (element, "blocking I/O call cancelled (%s)", func_name);
if (ret)
- *ret = GST_FLOW_WRONG_STATE;
+ *ret = GST_FLOW_FLUSHING;
} else if (*err != NULL) {
handled = FALSE;
} else {