tests: dash: fix dash tests after index fix

8e788f2845 broke one of the
dash mpd tests. This updates and fixes it.
This commit is contained in:
Thiago Santos 2016-02-01 14:25:42 -03:00
parent f1c053f644
commit cfcba7bc0f

View file

@ -4043,6 +4043,8 @@ GST_START_TEST (dash_mpdparser_headers)
" <Initialization sourceURL=\"TestSourceUrl\""
" range=\"100-200\">"
" </Initialization>"
" <RepresentationIndex sourceURL=\"TestSourceIndex\">"
" </RepresentationIndex>"
" </SegmentBase>"
" </Representation></AdaptationSet></Period></MPD>";
@ -4083,7 +4085,7 @@ GST_START_TEST (dash_mpdparser_headers)
gst_mpd_client_get_next_header_index (mpdclient, &uri, 0, &range_start,
&range_end);
assert_equals_int (ret, TRUE);
assert_equals_string (uri, "TestSourceUrl");
assert_equals_string (uri, "TestSourceIndex");
assert_equals_int64 (range_start, 10);
assert_equals_int64 (range_end, 20);
g_free (uri);