[Bug 755411] mpdparser: Only check stream->segments for a repeated last segment if we have a static list of segments

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 22 05:56:32 PDT 2015


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

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Thiago Sousa Santos from comment #2)
> Review of attachment 311853 [details] [review]:
> 
> ::: ext/dash/gstmpdparser.c
> @@ +4755,3 @@
>  
> +    if (segments_count > 0 && stream->segments
> +        && stream->segment_index + 1 == segments_count) {
> 
> Shouldn't segments_count be 0 when stream->segments == NULL?

No, you can still have a finite number of segments... based on a segment
template, the segment durations and the duration of the period.

-- 
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