playbin: Fix unit test for last change

It will successfully asynchronously go to PAUSED now and
later fail.
This commit is contained in:
Sebastian Dröge 2014-07-15 17:34:01 +02:00
parent c051b378d7
commit 960f676407

View file

@ -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 */