summaryrefslogtreecommitdiff
path: root/ext/gdk_pixbuf/gstgdkpixbuf.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-02-08 16:34:00 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-02-08 16:43:30 +0100
commit9365f12d6e81db3839498b205bbab4e824671bb1 (patch)
treeb4389f777740133f4c83da7793d309d45e762af6 /ext/gdk_pixbuf/gstgdkpixbuf.c
parent640be49e216880d745bb4b514037cbec47943541 (diff)
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
Diffstat (limited to 'ext/gdk_pixbuf/gstgdkpixbuf.c')
-rw-r--r--ext/gdk_pixbuf/gstgdkpixbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gdk_pixbuf/gstgdkpixbuf.c b/ext/gdk_pixbuf/gstgdkpixbuf.c
index 51c24a1ca..a65d2e863 100644
--- a/ext/gdk_pixbuf/gstgdkpixbuf.c
+++ b/ext/gdk_pixbuf/gstgdkpixbuf.c
@@ -326,7 +326,7 @@ gst_gdk_pixbuf_sink_event (GstPad * pad, GstEvent * event)
/* as long as we don't have flow returns for event functions we need
* to post an error here, or the application might never know that
* things failed */
- if (res != GST_FLOW_OK && res != GST_FLOW_WRONG_STATE) {
+ if (res != GST_FLOW_OK && res != GST_FLOW_FLUSHING) {
GST_ELEMENT_ERROR (pixbuf, STREAM, FAILED, (NULL),
("Flow: %s", gst_flow_get_name (res)));
}