@t attribute in segment Timeline is relative to the period start.
Corrected the code to take this into account when computing segment
timestamp.
https://bugzilla.gnome.org/show_bug.cgi?id=751841
start_time = S->t * GST_SECOND;
if (timescale > 1)
start_time /= timescale;
+ start_time += PeriodStart;
}
if (!gst_mpd_client_add_media_segment (stream, SegmentURL->data, i,
start_time = S->t * GST_SECOND;
if (timescale > 1)
start_time /= timescale;
+ start_time += PeriodStart;
}
if (!gst_mpd_client_add_media_segment (stream, NULL, i, S->r, start,