Commit c3fa608c authored by Francois Cartegnie's avatar Francois Cartegnie

demux: dash: remove unused members

parent 18186c84
......@@ -91,9 +91,7 @@ Chunk * SegmentTracker::getNextChunk(Streams::Type type)
Chunk *chunk = segment->toChunk(count, rep);
if(chunk)
{
segment->done();
count++;
}
return chunk;
}
......@@ -76,15 +76,6 @@ dash::http::Chunk* ISegment::toChunk(size_t index, Representation *ctxrep)
return chunk;
}
bool ISegment::isSingleShot() const
{
return true;
}
void ISegment::done()
{
//Only used for a SegmentTemplate.
}
void ISegment::setByteRange(size_t start, size_t end)
{
startByte = start;
......
......@@ -51,8 +51,6 @@ namespace dash
* That is basically true when using an Url, and false
* when using an UrlTemplate
*/
virtual bool isSingleShot () const;
virtual void done ();
virtual dash::http::Chunk* toChunk (size_t, Representation * = NULL);
virtual void setByteRange (size_t start, size_t end);
virtual size_t getOffset () const;
......
......@@ -61,11 +61,6 @@ void SegmentTemplate::setStartIndex(size_t i)
startIndex = i;
}
bool SegmentTemplate::isSingleShot() const
{
return false;
}
InitSegmentTemplate::InitSegmentTemplate( ICanonicalUrl *parent ) :
SegmentTemplate(parent)
{
......
......@@ -38,7 +38,6 @@ namespace dash
public:
SegmentTemplate( ICanonicalUrl * = NULL );
virtual Url getUrlSegment() const; /* reimpl */
virtual bool isSingleShot() const;
size_t getStartIndex() const;
void setStartIndex(size_t);
Property<mtime_t> duration;
......
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