mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
clearall don't remove prio 254/255 (reserverved for system purpose) (#420)
This commit is contained in:
parent
0aa467cceb
commit
0d996d6d10
@ -76,9 +76,13 @@ void PriorityMuxer::clearInput(const int priority)
|
||||
|
||||
void PriorityMuxer::clearAll()
|
||||
{
|
||||
_activeInputs.clear();
|
||||
_currentPriority = LOWEST_PRIORITY;
|
||||
_activeInputs[_currentPriority] = _lowestPriorityInfo;
|
||||
for(auto key : _activeInputs.keys())
|
||||
{
|
||||
if (key < LOWEST_PRIORITY-1)
|
||||
{
|
||||
_activeInputs.remove(key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void PriorityMuxer::setCurrentTime(const int64_t& now)
|
||||
|
Loading…
Reference in New Issue
Block a user