Commit 9a3bd71a authored by François Cartegnie's avatar François Cartegnie 🤞

demux: adaptive: rename fakeesout->drain

parent 858b4b60
......@@ -287,7 +287,7 @@ void PlaylistManager::drain()
if (st->isDisabled())
continue;
b_drained &= st->drain();
b_drained &= st->decodersDrained();
}
if(b_drained)
......
......@@ -266,9 +266,9 @@ bool AbstractStream::canActivate() const
return !dead;
}
bool AbstractStream::drain()
bool AbstractStream::decodersDrained()
{
return fakeesout->drain();
return fakeesout->decodersDrained();
}
AbstractStream::buffering_status AbstractStream::getLastBufferStatus() const
......
......@@ -86,7 +86,7 @@ namespace adaptive
buffering_status getLastBufferStatus() const;
mtime_t getDemuxedAmount() const;
status dequeue(mtime_t, mtime_t *);
bool drain();
bool decodersDrained();
virtual bool setPosition(mtime_t, bool);
mtime_t getPlaybackTime() const;
void runUpdates();
......
......@@ -247,7 +247,7 @@ bool FakeESOut::hasSelectedEs() const
return b_selected;
}
bool FakeESOut::drain()
bool FakeESOut::decodersDrained()
{
bool b_drained = true;
std::list<FakeESOutID *>::const_iterator it;
......
......@@ -44,7 +44,7 @@ namespace adaptive
void setExpectedTimestampOffset(mtime_t);
size_t esCount() const;
bool hasSelectedEs() const;
bool drain();
bool decodersDrained();
bool restarting() const;
void setExtraInfoProvider( ExtraFMTInfoInterface * );
void checkTimestampsStart(mtime_t);
......
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