summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2016-08-19 11:11:14 -0700
committerThibault Saunier <tsaunier@gnome.org>2016-08-26 19:23:28 -0300
commit3e27368ce3101d349c787cea519306c6f3d817b1 (patch)
treecc7c1bc57de2feb37960b797321eba239138102e /ext
parent40dbcd1b3ec1c17c03febdd127f9051bdc51a516 (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')
-rw-r--r--ext/sidplay/gstsiddec.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/sidplay/gstsiddec.cc b/ext/sidplay/gstsiddec.cc
index 65d25c03..3e928e78 100644
--- a/ext/sidplay/gstsiddec.cc
+++ b/ext/sidplay/gstsiddec.cc
@@ -450,8 +450,7 @@ pause:
gst_pad_push_event (pad, gst_event_new_eos ());
} else if (ret < GST_FLOW_EOS || ret == GST_FLOW_NOT_LINKED) {
/* for fatal errors we post an error message */
- GST_ELEMENT_ERROR (siddec, STREAM, FAILED,
- (NULL), ("streaming task paused, reason %s", reason));
+ GST_ELEMENT_FLOW_ERROR (siddec, ret);
gst_pad_push_event (pad, gst_event_new_eos ());
}