pad: add enums for custom flow return success and error codes
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 16 Apr 2010 13:22:18 +0000 (14:22 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 16 Apr 2010 13:52:32 +0000 (14:52 +0100)
commit126d9cfce8a298f30b10fe304d3fd48ae5c4640c
tree7d3fc0c5b6eac2da59db6ddd17a16f4454c653d8
parent69992811f4fa9b0027f6363443d2615542469ddb
pad: add enums for custom flow return success and error codes

This way people can just #define their own custom flow returns to
one of these without having the compiler (esp. gcc-4.5) complain
about comparing integers to an enum or the enum not being listed

Fixes #615880.

API: GST_FLOW_CUSTOM_SUCCESS_1
API: GST_FLOW_CUSTOM_SUCCESS_2
API: GST_FLOW_CUSTOM_ERROR_1
API: GST_FLOW_CUSTOM_ERROR_2
gst/gstpad.h