[Bug 751792] dashdemux: incorrect segment duration for a segment list

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 10 04:56:39 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=751792

--- Comment #16 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> ---
(In reply to Florin Apostol from comment #15)
> Review of attachment 311055 [details] [review]:
> 
> ::: ext/dash/gstmpdparser.c
> @@ +3408,3 @@
> +              GstMediaSegment *next_segment =
> +                  g_ptr_array_index (stream->segments, n + 1);
> +              if (next_segment && next_segment->start < PeriodEnd)
> 
> how could media_segment->start + media_segment->duration > PeriodEnd but
> next_segment->start < PeriodEnd ?
> Isn't it guaranteed that segment end < next segment start? If not, then we
> have overlapping segments.

We're trying to fix up segments that don't fit in the declared period in the
first place. If we assume these could be wrong, then it seems fair not to
assume those can't be wrong either. I'm still not very comfortable with how
this (periods, segments, media durations) all fits together though, so maybe
this makes less sense for those to be wrong.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list