src/libtsduck/dtv/tsEITProcessor.cpp
void ts::EITProcessor::provideSection(SectionCounter counter, SectionPtr& section)
{
    if (_sections.empty()) {
        // No section to provide.
        section.clear();
    }
    else {
        // Remove one section from the queue for insertion.
        section = _sections.front();
        _sections.pop_front();
    }
}
// Invoked when the packetizer needs a new section to insert.
Invoked when the packetizer needs a new section to insert.
Invoked when the packetizer needs a new section to insert .
void ts::EITProcessor::provideSection(SectionCounter counter, SectionPtr& section)
{
    if (_sections.empty()) {
        section.clear();
    }
    else {
        section = _sections.front();
        _sections.pop_front();
    }
}
void ts :: EITProcessor :: provideSection ( SectionCounter counter , SectionPtr & section ) { if ( _sections . empty ( ) ) { section . clear ( ) ; } else { section = _sections . front ( ) ; _sections . pop_front ( ) ; } }
Invoked when the packetizer needs a new section to insert.
Invoked when the packetizer needs a new section to insert .
// No section to provide. // Remove one section from the queue for insertion.