gst/gstpad.h: Small addition to GST_FLOW_IS_FATAL() docs: mention that elements driving the pipeline may need to expl...

Original commit message from CVS:
* gst/gstpad.h:
Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
driving the pipeline may need to explicitly check for NOT_LINKED as
well, since IS_FATAL doesn't cover that.
This commit is contained in:
Tim-Philipp Müller 2007-07-22 18:26:32 +00:00
parent fc135f7f7c
commit 2a97e6f23e
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstpad.h:
Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
driving the pipeline may need to explicitly check for NOT_LINKED as
well, since IS_FATAL doesn't cover that.
2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
* docs/pwg/advanced-types.xml:

View file

@ -138,8 +138,10 @@ typedef enum {
* @ret: a #GstFlowReturn value
*
* Macro to test if the given #GstFlowReturn value indicates a fatal
* error. This macro is mainly used in elements to decide when an error
* message should be posted on the bus.
* error. This macro is mainly used in elements driving the pipeline to decide
* whether an error message should be posted on the bus. Note that such
* elements may also need to post an error message in the #GST_FLOW_NOT_LINKED
* case which is not caught by this macro.
*/
#define GST_FLOW_IS_FATAL(ret) ((ret) <= GST_FLOW_UNEXPECTED)