diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-07-15 17:34:01 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-07-16 11:19:26 +0200 |
commit | d24a7e991623242960974ed9ec9cf65d035fdb23 (patch) | |
tree | a4578bd51ceb84393244adce7ca4b94abcdeddba | |
parent | 346904ee2781bbb93011daf085f5618fd8f24819 (diff) |
playbin: Fix unit test for last change1.5
It will successfully asynchronously go to PAUSED now and
later fail.
-rw-r--r-- | tests/check/elements/playbin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/check/elements/playbin.c b/tests/check/elements/playbin.c index 369562af7..cdc737ee5 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 */ |