Skip to content
Snippets Groups Projects
Commit bfadf89d authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

demux: adaptive: fix regression with non zero starting content

regression by 15f5497b

(cherry picked from commit 694c5b02)
parent 237b9d23
No related branches found
No related tags found
No related merge requests found
......@@ -434,7 +434,7 @@ bool CommandsQueue::isEOF() const
mtime_t CommandsQueue::getDemuxedAmount(mtime_t from) const
{
if( from > bufferinglevel || from < getFirstDTS() )
if( from > bufferinglevel )
return 0;
if( from > getFirstDTS() )
return bufferinglevel - from;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment