Commit 247df4e9 authored by François Cartegnie's avatar François Cartegnie 🤞

stream_filter: dash: remove unused segment methods

parent 2da28c96
......@@ -67,23 +67,13 @@ void Segment::addBaseUrl (BaseUrl *url)
{
this->baseUrls.push_back(url);
}
const std::vector<BaseUrl *>& Segment::getBaseUrls () const
{
return this->baseUrls;
}
void Segment::setByteRange (int start, int end)
{
this->startByte = start;
this->endByte = end;
}
int Segment::getStartByte () const
{
return this->startByte;
}
int Segment::getEndByte () const
{
return this->endByte;
}
dash::http::Chunk* Segment::toChunk ()
{
Chunk *chunk = new Chunk();
......@@ -123,8 +113,3 @@ const Representation *Segment::getParentRepresentation() const
{
return this->parentRepresentation;
}
int Segment::getSize() const
{
return this->size;
}
......@@ -51,13 +51,9 @@ namespace dash
virtual bool isSingleShot () const;
virtual void done ();
virtual void addBaseUrl (BaseUrl *url);
virtual const std::vector<BaseUrl *>& getBaseUrls () const;
virtual void setByteRange (int start, int end);
virtual int getStartByte () const;
virtual int getEndByte () const;
virtual dash::http::Chunk* toChunk ();
const Representation* getParentRepresentation() const;
virtual int getSize() const;
protected:
std::string sourceUrl;
......
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