src/libtsduck/plugin/tsAbstractTablePlugin.cpp
void ts::AbstractTablePlugin::setPID(PID pid)
{
    // Reset demux and packetizer if we change PID.
    if (pid != _pid) {
        _pid = pid;
        _found_pid = false;
        _demux.reset();
        _demux.addPID(_pid);
        _pzer.reset();
        _pzer.setPID(_pid);
    }
}
//----------------------------------------------------------------------------
// Set a new PID to process.
//----------------------------------------------------------------------------
Set a new PID to process.
Set a new PID to process .
void ts::AbstractTablePlugin::setPID(PID pid)
{
    if (pid != _pid) {
        _pid = pid;
        _found_pid = false;
        _demux.reset();
        _demux.addPID(_pid);
        _pzer.reset();
        _pzer.setPID(_pid);
    }
}
void ts :: AbstractTablePlugin :: setPID ( PID pid ) { if ( pid != _pid ) { _pid = pid ; _found_pid = false ; _demux . reset ( ) ; _demux . addPID ( _pid ) ; _pzer . reset ( ) ; _pzer . setPID ( _pid ) ; } }
Set a new PID to process.
Set a new PID to process .
// Reset demux and packetizer if we change PID.