Commit bced5fe7 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: adaptive: fix download from each adaptation set

since gc does not happen after disabling,
es is still seen as selected.
parent b4f2ab4f
......@@ -253,6 +253,10 @@ void AbstractStream::setDisabled(bool b)
{
if(disabled != b)
segmentTracker->notifyBufferingState(!b);
/* Ensures unselected ES no longer
* have decoder/are seen as selected */
if(b)
fakeesout->recycleAll();
disabled = b;
}
......
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