src/libtsduck/dtv/tsPESDemux.cpp
void ts::PESDemux::immediateReset()
{
    SuperClass::immediateReset();
    _pids.clear();
    _stream_types.clear();

    // Reset the section demux back to initial state (intercepting the PAT).
    _section_demux.reset();
    _section_demux.addPID(PID_PAT);
}
//----------------------------------------------------------------------------
// Reset the analysis context (partially built PES packets).
//----------------------------------------------------------------------------
Reset the analysis context (partially built PES packets).
Reset the analysis context ( partially built PES packets ) .
void ts::PESDemux::immediateReset()
{
    SuperClass::immediateReset();
    _pids.clear();
    _stream_types.clear();
    _section_demux.reset();
    _section_demux.addPID(PID_PAT);
}
void ts :: PESDemux :: immediateReset ( ) { SuperClass :: immediateReset ( ) ; _pids . clear ( ) ; _stream_types . clear ( ) ; _section_demux . reset ( ) ; _section_demux . addPID ( PID_PAT ) ; }
Reset the analysis context (partially built PES packets).
Reset the analysis context ( partially built PES packets ) .
// Reset the section demux back to initial state (intercepting the PAT).