diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-09-15 14:58:35 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-09-15 14:58:35 +0200 |
commit | 68cbf7802dc6dbf85a9596b3265e5f285dbf9bd6 (patch) | |
tree | f1525538438e3598714c4ede5420d44b7b919572 /tests | |
parent | 79cab9f8b8fdcd417d7fea970c79fbf5b3090f7d (diff) |
player: Fix unit test for minor API change
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/libs/player.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/libs/player.c b/tests/check/libs/player.c index e4c83fc70f..8c203b9df5 100644 --- a/tests/check/libs/player.c +++ b/tests/check/libs/player.c @@ -764,7 +764,7 @@ test_play_error_invalid_external_suburi_cb (GstPlayer * player, new_state->test_data = GINT_TO_POINTER (steps + 1); /* load invalid suburi */ - fail_unless (gst_player_set_subtitle_uri (player, suburi) != FALSE); + gst_player_set_subtitle_uri (player, suburi); g_free (suburi); } else if (steps && change == STATE_CHANGE_WARNING) { @@ -1026,7 +1026,7 @@ test_play_external_suburi_cb (GstPlayer * player, suburi = gst_filename_to_uri (TEST_PATH "/test_sub.srt", NULL); fail_unless (suburi != NULL); - fail_unless (gst_player_set_subtitle_uri (player, suburi) != FALSE); + gst_player_set_subtitle_uri (player, suburi); g_free (suburi); new_state->test_data = GINT_TO_POINTER (steps + 1); |