check: cast element in ASSERT_SET_STATE.

https://bugzilla.gnome.org/show_bug.cgi?id=744777
This commit is contained in:
Mathieu Duponchelle 2015-02-19 12:17:15 +01:00
parent 66e8d3b9a0
commit 0ee2183aa5

View file

@ -565,7 +565,7 @@ G_STMT_START { \
} G_STMT_END
#define ASSERT_SET_STATE(element, state, ret) \
fail_unless (gst_element_set_state (element, \
fail_unless (gst_element_set_state (GST_ELEMENT(element), \
state) == ret, \
"could not change state to " #state);