mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue