summaryrefslogtreecommitdiff
path: root/tests/old/testsuite/schedulers/relink.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/old/testsuite/schedulers/relink.c')
-rw-r--r--tests/old/testsuite/schedulers/relink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/old/testsuite/schedulers/relink.c b/tests/old/testsuite/schedulers/relink.c
index 82cd68940..04157b481 100644
--- a/tests/old/testsuite/schedulers/relink.c
+++ b/tests/old/testsuite/schedulers/relink.c
@@ -60,7 +60,8 @@ main (gint argc, gchar ** argv)
/* run pipeline */
g_print ("running...\n");
- 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 ();
while (i++ < 10 && gst_bin_iterate (GST_BIN (pipeline)));