diff options
author | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2016-08-19 11:12:10 -0700 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2016-08-26 19:23:31 -0300 |
commit | 2fb716409c928583ab2e8384eca261d0f45822dc (patch) | |
tree | 5f409f58b036ce3f847f46e58efb4aa525cfba05 /gst/aiff | |
parent | 268c18054d47052d171b43bf6b5b5d33ae391b58 (diff) | |
download | gstreamer-plugins-bad-2fb716409c928583ab2e8384eca261d0f45822dc.tar.gz |
Use the new API to post flow ERROR messages on the bus
https://bugzilla.gnome.org/show_bug.cgi?id=770158
Diffstat (limited to 'gst/aiff')
-rw-r--r-- | gst/aiff/aiffparse.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/aiff/aiffparse.c b/gst/aiff/aiffparse.c index 194857be3..faa264770 100644 --- a/gst/aiff/aiffparse.c +++ b/gst/aiff/aiffparse.c @@ -1527,9 +1527,7 @@ pause: } else if (ret < GST_FLOW_EOS || ret == GST_FLOW_NOT_LINKED) { /* for fatal errors we post an error message, post the error * first so the app knows about the error first. */ - GST_ELEMENT_ERROR (aiff, STREAM, FAILED, - (_("Internal data flow error.")), - ("streaming task paused, reason %s (%d)", reason, ret)); + GST_ELEMENT_FLOW_ERROR (aiff, ret); gst_pad_push_event (aiff->srcpad, gst_event_new_eos ()); } return; |