[vlc-commits] demux: adaptative: segmentBase can have subsegments after index reading
Francois Cartegnie
git at videolan.org
Fri May 15 21:29:30 CEST 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri May 15 15:52:13 2015 +0200| [602602b41057fcd1b601c90ec5c0608293c4a40c] | committer: Francois Cartegnie
demux: adaptative: segmentBase can have subsegments after index reading
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=602602b41057fcd1b601c90ec5c0608293c4a40c
---
modules/demux/adaptative/playlist/SegmentInformation.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/demux/adaptative/playlist/SegmentInformation.cpp b/modules/demux/adaptative/playlist/SegmentInformation.cpp
index 93f1d27..8c85249 100644
--- a/modules/demux/adaptative/playlist/SegmentInformation.cpp
+++ b/modules/demux/adaptative/playlist/SegmentInformation.cpp
@@ -103,7 +103,8 @@ vector<ISegment *> SegmentInformation::getSegments(SegmentInfoType type) const
}
else if( segmentBase )
{
- retSegments.push_back( segmentBase );
+ std::vector<ISegment *> list = segmentBase->subSegments();
+ retSegments.insert( retSegments.end(), list.begin(), list.end() );
}
}
break;
More information about the vlc-commits
mailing list