diff --git a/tests/check/elements/dash_mpd.c b/tests/check/elements/dash_mpd.c index 7b67bbc767..23822ce6b5 100644 --- a/tests/check/elements/dash_mpd.c +++ b/tests/check/elements/dash_mpd.c @@ -4082,6 +4082,7 @@ GST_START_TEST (dash_mpdparser_segment_template) GstClockTime expectedDuration; GstClockTime expectedTimestamp; GstClockTime periodStartTime; + GstClockTime offset; const gchar *xml = "" "" " " " " " " @@ -4151,6 +4153,9 @@ GST_START_TEST (dash_mpdparser_segment_template) periodStartTime = gst_mpd_parser_get_period_start_time (mpdclient); assert_equals_uint64 (periodStartTime, 10 * GST_SECOND); + offset = gst_mpd_parser_get_stream_presentation_offset (mpdclient, 0); + assert_equals_uint64 (offset, 15 * GST_SECOND); + gst_media_fragment_info_clear (&fragment); gst_mpd_client_free (mpdclient);