mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 13:25:56 +00:00
dashdemux: wrong segment duration computed by gst_mpd_client_setup_representation
Corrected computation of segment start and duration. https://bugzilla.gnome.org/show_bug.cgi?id=751914
This commit is contained in:
parent
5151c42085
commit
8e82129875
1 changed files with 2 additions and 2 deletions
|
@ -3274,8 +3274,8 @@ gst_mpd_client_setup_representation (GstMpdClient * client,
|
||||||
|
|
||||||
gst_mpdparser_init_active_stream_segments (stream);
|
gst_mpdparser_init_active_stream_segments (stream);
|
||||||
/* here we should have a single segment for each representation, whose URL is encoded in the baseURL element */
|
/* here we should have a single segment for each representation, whose URL is encoded in the baseURL element */
|
||||||
if (!gst_mpd_client_add_media_segment (stream, NULL, 1, 0, 0, PeriodEnd,
|
if (!gst_mpd_client_add_media_segment (stream, NULL, 1, 0, 0,
|
||||||
0, PeriodEnd)) {
|
PeriodEnd - PeriodStart, PeriodStart, PeriodEnd - PeriodStart)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue