check: cast element in ASSERT_SET_STATE.
https://bugzilla.gnome.org/show_bug.cgi?id=744777
This commit is contained in:
parent
66e8d3b9a0
commit
0ee2183aa5
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user