Commit 425d321a authored by Francois Cartegnie's avatar Francois Cartegnie

demux: adaptative: rename type less getSegments

parent 5f49de18
...@@ -70,7 +70,7 @@ void BaseRepresentation::debug(vlc_object_t *obj, int indent) const ...@@ -70,7 +70,7 @@ void BaseRepresentation::debug(vlc_object_t *obj, int indent) const
text.append("Representation"); text.append("Representation");
msg_Dbg(obj, "%s", text.c_str()); msg_Dbg(obj, "%s", text.c_str());
std::vector<ISegment *> list; std::vector<ISegment *> list;
getSegments(list); getAllSegments(list);
std::vector<ISegment *>::const_iterator l; std::vector<ISegment *>::const_iterator l;
for(l = list.begin(); l != list.end(); ++l) for(l = list.begin(); l != list.end(); ++l)
(*l)->debug(obj, indent + 1); (*l)->debug(obj, indent + 1);
......
...@@ -139,7 +139,7 @@ std::size_t SegmentInformation::getSegments(SegmentInfoType type, vector<ISegmen ...@@ -139,7 +139,7 @@ std::size_t SegmentInformation::getSegments(SegmentInfoType type, vector<ISegmen
return retSegments.size(); return retSegments.size();
} }
std::size_t SegmentInformation::getSegments(vector<ISegment *> &retSegments) const std::size_t SegmentInformation::getAllSegments(vector<ISegment *> &retSegments) const
{ {
for(int i=0; i<InfoTypeCount; i++) for(int i=0; i<InfoTypeCount; i++)
{ {
......
...@@ -82,7 +82,7 @@ namespace adaptative ...@@ -82,7 +82,7 @@ namespace adaptative
virtual void mergeWith(SegmentInformation *, mtime_t); virtual void mergeWith(SegmentInformation *, mtime_t);
protected: protected:
std::size_t getSegments(std::vector<ISegment *> &) const; std::size_t getAllSegments(std::vector<ISegment *> &) const;
std::size_t getSegments(SegmentInfoType, std::vector<ISegment *>&) const; std::size_t getSegments(SegmentInfoType, std::vector<ISegment *>&) const;
std::vector<SegmentInformation *> childs; std::vector<SegmentInformation *> childs;
SegmentInformation *parent; SegmentInformation *parent;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment