hlsdemux: Tell the base class the fragment duration

adaptivedemux uses the fragment duration as a delay
in some cases, so make sure to set it.
This commit is contained in:
Jan Schmidt 2015-11-11 03:55:27 +11:00
parent 08544a459b
commit 77b302b5da

View file

@ -688,6 +688,7 @@ gst_hls_demux_update_fragment_info (GstAdaptiveDemuxStream * stream)
stream->fragment.uri = next_fragment_uri; stream->fragment.uri = next_fragment_uri;
stream->fragment.range_start = range_start; stream->fragment.range_start = range_start;
stream->fragment.range_end = range_end; stream->fragment.range_end = range_end;
stream->fragment.duration = duration;
if (discont) if (discont)
stream->discont = discont; stream->discont = discont;