element: Add API to more easily post messages about flowing issues
authorThibault Saunier <tsaunier@gnome.org>
Tue, 23 Aug 2016 16:27:20 +0000 (13:27 -0300)
committerThibault Saunier <tsaunier@gnome.org>
Sat, 27 Aug 2016 12:33:20 +0000 (09:33 -0300)
commitda73b89200bdfbcae6fa75e9d2a41f9a9d2a6bbb
treec5c017acefe25045d8c40627913a686402740c14
parent22b892b44f5005d7af8d50df313e759bfdb1acd0
element: Add API to more easily post messages about flowing issues

In many parts of the code we raise streaming error when the flow
goes wrong, and each time we create more or less similare error
message. Also that message does not let the application know what
has actually gone wrong. In the new API we add a "flow-return" detail
field inside the GstMessage so that the application has all the information
if it needs it.

API:
    GST_ELEMENT_FLOW_ERROR

https://bugzilla.gnome.org/show_bug.cgi?id=770158
docs/gst/gstreamer-sections.txt
gst/gstelement.h