From 268c18054d47052d171b43bf6b5b5d33ae391b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 26 Aug 2016 20:12:21 +0300 Subject: [PATCH] dash: Fix build of unit test --- tests/check/elements/dash_mpd.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/check/elements/dash_mpd.c b/tests/check/elements/dash_mpd.c index ed718a27e9..783ecae659 100644 --- a/tests/check/elements/dash_mpd.c +++ b/tests/check/elements/dash_mpd.c @@ -3162,19 +3162,23 @@ GST_START_TEST (dash_mpdparser_representation_selection) assert_equals_int (represendationIndex, 1); represendationIndex = - gst_mpdparser_get_rep_idx_with_max_bandwidth (representations, 0); + gst_mpdparser_get_rep_idx_with_max_bandwidth (representations, 0, 0, 0, 0, + 1); assert_equals_int (represendationIndex, 1); represendationIndex = - gst_mpdparser_get_rep_idx_with_max_bandwidth (representations, 100000); + gst_mpdparser_get_rep_idx_with_max_bandwidth (representations, 100000, 0, + 0, 0, 1); assert_equals_int (represendationIndex, -1); represendationIndex = - gst_mpdparser_get_rep_idx_with_max_bandwidth (representations, 300000); + gst_mpdparser_get_rep_idx_with_max_bandwidth (representations, 300000, 0, + 0, 0, 1); assert_equals_int (represendationIndex, 1); represendationIndex = - gst_mpdparser_get_rep_idx_with_max_bandwidth (representations, 500000); + gst_mpdparser_get_rep_idx_with_max_bandwidth (representations, 500000, 0, + 0, 0, 1); assert_equals_int (represendationIndex, 0); gst_mpd_client_free (mpdclient);