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()
|
void PriorityMuxer::clearAll()
|
||||||
{
|
{
|
||||||
_activeInputs.clear();
|
for(auto key : _activeInputs.keys())
|
||||||
_currentPriority = LOWEST_PRIORITY;
|
{
|
||||||
_activeInputs[_currentPriority] = _lowestPriorityInfo;
|
if (key < LOWEST_PRIORITY-1)
|
||||||
|
{
|
||||||
|
_activeInputs.remove(key);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void PriorityMuxer::setCurrentTime(const int64_t& now)
|
void PriorityMuxer::setCurrentTime(const int64_t& now)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user