src/libtsduck/plugin/private/tstsswitchInputExecutor.cpp
void ts::tsswitch::InputExecutor::freeOutput(size_t count)
{
    GuardCondition lock(_mutex, _todo);
    assert(count <= _outCount);
    _outFirst = (_outFirst + count) % _buffer.size();
    _outCount -= count;
    _outputInUse = false;
    lock.signal();
}
//----------------------------------------------------------------------------
// Free output packets (after being sent).
// Indirectly called from the output plugin after sending packets.
//----------------------------------------------------------------------------
Free output packets (after being sent).
Indirectly called from the output plugin after sending packets.
Free output packets ( after being sent ) . Indirectly called from the output plugin after sending packets .
void ts::tsswitch::InputExecutor::freeOutput(size_t count)
{
    GuardCondition lock(_mutex, _todo);
    assert(count <= _outCount);
    _outFirst = (_outFirst + count) % _buffer.size();
    _outCount -= count;
    _outputInUse = false;
    lock.signal();
}
void ts :: tsswitch :: InputExecutor :: freeOutput ( size_t count ) { GuardCondition lock ( _mutex , _todo ) ; assert ( count <= _outCount ) ; _outFirst = ( _outFirst + count ) % _buffer . size ( ) ; _outCount -= count ; _outputInUse = false ; lock . signal ( ) ; }
Free output packets (after being sent).
Free output packets ( after being sent ) .