playbin: Fix unit test for last change
It will successfully asynchronously go to PAUSED now and later fail.
This commit is contained in:
parent
c051b378d7
commit
960f676407
@ -333,8 +333,7 @@ GST_START_TEST (test_missing_suburisource_handler)
|
|||||||
|
|
||||||
fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY),
|
fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY),
|
||||||
GST_STATE_CHANGE_SUCCESS);
|
GST_STATE_CHANGE_SUCCESS);
|
||||||
fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PAUSED),
|
gst_element_set_state (playbin, GST_STATE_PAUSED);
|
||||||
GST_STATE_CHANGE_FAILURE);
|
|
||||||
|
|
||||||
/* there should be at least a missing-plugin message on the bus now and an
|
/* there should be at least a missing-plugin message on the bus now and an
|
||||||
* error message; the missing-plugin message should be first */
|
* error message; the missing-plugin message should be first */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user