From 68cbf7802dc6dbf85a9596b3265e5f285dbf9bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 15 Sep 2016 14:58:35 +0200 Subject: [PATCH] player: Fix unit test for minor API change --- tests/check/libs/player.c | 4 ++-- 1 file 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);