diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-08-26 20:12:21 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-08-26 20:12:21 +0300 |
commit | 268c18054d47052d171b43bf6b5b5d33ae391b58 (patch) | |
tree | 2ca6acaee19c674e7eb2e908e011feb94ed8a1a6 /tests | |
parent | 4734b10c6f7ed83cbd6be5f3b3c16aab8ca2b49b (diff) |
dash: Fix build of unit test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/dash_mpd.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/check/elements/dash_mpd.c b/tests/check/elements/dash_mpd.c index ed718a27e..783ecae65 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); |