GNOME Bugzilla – Bug 615880
Add some more custom flow returns
Last modified: 2010-04-16 17:01:34 UTC
...as discussed on IRC. Things like GST_FLOW_CUSTOM_ERROR_1, _2 and GST_FLOW_CUSTOM_OK_1, _2 How many should be added?
Created attachment 158892 [details] [review] pad: add enums for custom flow return success and error codes See e.g. the following commits: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=65b0f75d1b3119316b2dcaf5bff4dfd2bd824cc1 http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=4196f9290fdcfbc003de05684b11247b6030d914 http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=a331228eccfb8c66493fa3c8c49338c79cf4642c
Committed (with a FIXME 0.11: remove) commit 126d9cfce8a298f30b10fe304d3fd48ae5c4640c Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Fri Apr 16 14:22:18 2010 +0100 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