From 960f676407320f484b9735b75ca6f130a04a1aee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 15 Jul 2014 17:34:01 +0200 Subject: [PATCH] playbin: Fix unit test for last change It will successfully asynchronously go to PAUSED now and later fail. --- tests/check/elements/playbin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/check/elements/playbin.c b/tests/check/elements/playbin.c index 369562af75..cdc737ee51 100644 --- a/tests/check/elements/playbin.c +++ b/tests/check/elements/playbin.c @@ -333,8 +333,7 @@ GST_START_TEST (test_missing_suburisource_handler) fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), GST_STATE_CHANGE_SUCCESS); - fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PAUSED), - GST_STATE_CHANGE_FAILURE); + gst_element_set_state (playbin, GST_STATE_PAUSED); /* there should be at least a missing-plugin message on the bus now and an * error message; the missing-plugin message should be first */