summaryrefslogtreecommitdiff
path: root/ext/gdk_pixbuf/gstgdkpixbufdec.c
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2016-08-19 11:11:03 -0700
committerThibault Saunier <tsaunier@gnome.org>2016-08-26 19:23:26 -0300
commit150edef83078b76890753833235ba4acc3070ad0 (patch)
treec01cecbde1224856de4ec298ee33528584579af0 /ext/gdk_pixbuf/gstgdkpixbufdec.c
parentd40f007d61b61712223640af7808a82127d03963 (diff)
Use the new API to post flow ERROR messages on the bus
https://bugzilla.gnome.org/show_bug.cgi?id=770158
Diffstat (limited to 'ext/gdk_pixbuf/gstgdkpixbufdec.c')
-rw-r--r--ext/gdk_pixbuf/gstgdkpixbufdec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/gdk_pixbuf/gstgdkpixbufdec.c b/ext/gdk_pixbuf/gstgdkpixbufdec.c
index 735f07951..1598c53be 100644
--- a/ext/gdk_pixbuf/gstgdkpixbufdec.c
+++ b/ext/gdk_pixbuf/gstgdkpixbufdec.c
@@ -417,8 +417,7 @@ gst_gdk_pixbuf_dec_sink_event (GstPad * pad, GstObject * parent,
* things failed */
if (res != GST_FLOW_OK && res != GST_FLOW_FLUSHING
&& res != GST_FLOW_EOS && res != GST_FLOW_NOT_LINKED) {
- GST_ELEMENT_ERROR (pixbuf, STREAM, FAILED, (NULL), ("Flow: %s",
- gst_flow_get_name (res)));
+ GST_ELEMENT_FLOW_ERROR (pixbuf, res);
forward = FALSE;
ret = FALSE;
}