mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
player: Fix unit test for minor API change
This commit is contained in:
parent
79cab9f8b8
commit
68cbf7802d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue