demux: adaptive: fix incorrect segment duration
commit2ca29e260219a91e77577e1d4c3040e595b68393
authorZhao Zhili <quinkblack@foxmail.com>
Fri, 3 Nov 2017 01:27:38 +0000 (3 09:27 +0800)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 8 Nov 2017 19:34:33 +0000 (8 20:34 +0100)
tree2f935fe95df910dee5b2b4a63aabc21172c35483
parent6f728b8b70247d3bac9b4f882e4d69ce814984b3
demux: adaptive: fix incorrect segment duration

It's supposed to return the duration of the current segment, not the
previous segment.

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
modules/demux/adaptive/playlist/SegmentList.cpp