Original commit message from CVS:
2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
* libs/gst/check/gstcheck.h:
add an assert for setting state to avoid lots of repetitive code
in the future
2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
+ * libs/gst/check/gstcheck.h:
+ add an assert for setting state to avoid lots of repetitive code
+ in the future
+
+2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
+
* gst/gstvalue.c: (gst_value_serialize_flags):
fix a leak if no flags are set
* tests/check/gst/gstvalue.c: (GST_START_TEST):
name " refcount is %d instead of %d", rc, value);\
} G_STMT_END
+#define ASSERT_SET_STATE(element, state, ret) \
+fail_unless (gst_element_set_state (element, \
+ state) == ret, \
+ "could not change state to " #state);
#endif /* __GST_CHECK_H__ */