diff options
Diffstat (limited to 'tests/old/testsuite/schedulers/147713.c')
-rw-r--r-- | tests/old/testsuite/schedulers/147713.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/old/testsuite/schedulers/147713.c b/tests/old/testsuite/schedulers/147713.c index d9eaaf733..23a40c695 100644 --- a/tests/old/testsuite/schedulers/147713.c +++ b/tests/old/testsuite/schedulers/147713.c @@ -64,12 +64,15 @@ main (gint argc, gchar ** argv) gst_bin_add_many (GST_BIN (pipeline), src, id1, NULL); gst_element_link_pads (src, "src", id1, "sink"); - if (gst_element_set_state (pipeline, GST_STATE_PLAYING) != GST_STATE_SUCCESS) + if (gst_element_set_state (pipeline, + GST_STATE_PLAYING) != GST_STATE_CHANGE_SUCCESS) g_assert_not_reached (); - if (gst_element_set_state (id2, GST_STATE_PLAYING) != GST_STATE_SUCCESS) + if (gst_element_set_state (id2, + GST_STATE_PLAYING) != GST_STATE_CHANGE_SUCCESS) g_assert_not_reached (); - if (gst_element_set_state (sink, GST_STATE_PLAYING) != GST_STATE_SUCCESS) + if (gst_element_set_state (sink, + GST_STATE_PLAYING) != GST_STATE_CHANGE_SUCCESS) g_assert_not_reached (); gst_bin_add_many (GST_BIN (pipeline), sink, NULL); |