Home
last modified time | relevance | path

Searched refs:state_res (Results 1 – 7 of 7) sorted by relevance

/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dvideomixer.c49 GstStateChangeReturn state_res; in GST_START_TEST() local
64 state_res = gst_element_set_state (pipeline, GST_STATE_PAUSED); in GST_START_TEST()
65 fail_unless_equals_int (state_res, GST_STATE_CHANGE_ASYNC); in GST_START_TEST()
68 state_res = gst_element_get_state (pipeline, NULL, NULL, GST_CLOCK_TIME_NONE); in GST_START_TEST()
69 fail_unless_equals_int (state_res, GST_STATE_CHANGE_SUCCESS); in GST_START_TEST()
149 GstStateChangeReturn state_res; in GST_START_TEST() local
211 state_res = gst_element_set_state (bin, GST_STATE_PAUSED); in GST_START_TEST()
212 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
215 state_res = gst_element_get_state (bin, NULL, NULL, GST_CLOCK_TIME_NONE); in GST_START_TEST()
216 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
[all …]
Drtpcollision.c175 GstStateChangeReturn state_res = GST_STATE_CHANGE_FAILURE; in GST_START_TEST() local
246 state_res = gst_element_set_state (bin, GST_STATE_PLAYING); in GST_START_TEST()
247 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
252 state_res = gst_element_set_state (bin, GST_STATE_NULL); in GST_START_TEST()
253 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
346 GstStateChangeReturn state_res = GST_STATE_CHANGE_FAILURE; in GST_START_TEST() local
422 state_res = gst_element_set_state (bin, GST_STATE_PLAYING); in GST_START_TEST()
423 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
428 state_res = gst_element_set_state (bin, GST_STATE_NULL); in GST_START_TEST()
429 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dcompositor.c87 GstStateChangeReturn state_res; in GST_START_TEST() local
102 state_res = gst_element_set_state (pipeline, GST_STATE_PAUSED); in GST_START_TEST()
103 fail_unless_equals_int (state_res, GST_STATE_CHANGE_ASYNC); in GST_START_TEST()
106 state_res = gst_element_get_state (pipeline, NULL, NULL, GST_CLOCK_TIME_NONE); in GST_START_TEST()
107 fail_unless_equals_int (state_res, GST_STATE_CHANGE_SUCCESS); in GST_START_TEST()
187 GstStateChangeReturn state_res; in GST_START_TEST() local
249 state_res = gst_element_set_state (bin, GST_STATE_PAUSED); in GST_START_TEST()
250 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
253 state_res = gst_element_get_state (bin, NULL, NULL, GST_CLOCK_TIME_NONE); in GST_START_TEST()
254 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
[all …]
Dadder.c99 GstStateChangeReturn state_res; in set_state_and_wait() local
102 state_res = gst_element_set_state (pipeline, state); in set_state_and_wait()
103 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in set_state_and_wait()
106 state_res = gst_element_get_state (pipeline, NULL, NULL, GST_CLOCK_TIME_NONE); in set_state_and_wait()
107 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in set_state_and_wait()
113 GstStateChangeReturn state_res; in play_and_wait() local
115 state_res = gst_element_set_state (pipeline, GST_STATE_PLAYING); in play_and_wait()
116 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in play_and_wait()
121 state_res = gst_element_set_state (pipeline, GST_STATE_NULL); in play_and_wait()
122 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in play_and_wait()
[all …]
Daudiomixer.c110 GstStateChangeReturn state_res; in set_state_and_wait() local
113 state_res = gst_element_set_state (pipeline, state); in set_state_and_wait()
114 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in set_state_and_wait()
117 state_res = gst_element_get_state (pipeline, NULL, NULL, GST_CLOCK_TIME_NONE); in set_state_and_wait()
118 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in set_state_and_wait()
124 GstStateChangeReturn state_res; in set_playing() local
126 state_res = gst_element_set_state (element, GST_STATE_PLAYING); in set_playing()
127 ck_assert_int_ne (state_res, GST_STATE_CHANGE_FAILURE); in set_playing()
135 GstStateChangeReturn state_res; in play_and_wait() local
142 state_res = gst_element_set_state (pipeline, GST_STATE_NULL); in play_and_wait()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dshm.c177 GstStateChangeReturn state_res; in GST_START_TEST() local
191 state_res = gst_element_set_state (producer, GST_STATE_PLAYING); in GST_START_TEST()
192 fail_unless (state_res != GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
208 state_res = gst_element_set_state (consumer, GST_STATE_PLAYING); in GST_START_TEST()
209 fail_unless (state_res != GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
212 state_res = gst_element_get_state (consumer, NULL, NULL, GST_CLOCK_TIME_NONE); in GST_START_TEST()
213 fail_unless (state_res == GST_STATE_CHANGE_SUCCESS); in GST_START_TEST()
218 state_res = gst_element_set_state (producer, GST_STATE_NULL); in GST_START_TEST()
219 fail_unless (state_res != GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
221 state_res = gst_element_set_state (consumer, GST_STATE_NULL); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstbin.c1639 GstStateChangeReturn state_res; in GST_START_TEST() local
1665 state_res = gst_element_set_state (bin, GST_STATE_PAUSED); in GST_START_TEST()
1666 fail_unless (state_res != GST_STATE_CHANGE_FAILURE, NULL); in GST_START_TEST()
1674 state_res = gst_element_set_state (bin, GST_STATE_PLAYING); in GST_START_TEST()
1675 fail_unless (state_res != GST_STATE_CHANGE_FAILURE, NULL); in GST_START_TEST()
1678 state_res = in GST_START_TEST()
1681 fail_unless (state_res != GST_STATE_CHANGE_FAILURE, NULL); in GST_START_TEST()
1701 GstStateChangeReturn state_res; in GST_START_TEST() local
1727 state_res = gst_element_set_state (bin, GST_STATE_PAUSED); in GST_START_TEST()
1728 fail_unless (state_res != GST_STATE_CHANGE_FAILURE, NULL); in GST_START_TEST()
[all …]