mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
dashdemux: Corrected duration argument for gst_mpd_client_add_media_segment call
The last parameter of gst_mpd_client_add_media_segment function is a duration. But when called from gst_mpd_client_setup_representation, the last argument was wrongly set to PeriodEnd https://bugzilla.gnome.org/show_bug.cgi?id=751449
This commit is contained in:
parent
93f08347de
commit
dbf12ab760
1 changed files with 1 additions and 1 deletions
|
@ -3186,7 +3186,7 @@ gst_mpd_client_setup_representation (GstMpdClient * client,
|
||||||
GST_DEBUG ("No useful SegmentList node for the current Representation");
|
GST_DEBUG ("No useful SegmentList node for the current Representation");
|
||||||
/* 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,
|
if (!gst_mpd_client_add_media_segment (stream, NULL, 1, 0, 0,
|
||||||
PeriodEnd - PeriodStart, PeriodStart, PeriodEnd)) {
|
PeriodEnd - PeriodStart, PeriodStart, PeriodEnd - PeriodStart)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue