sample/sample-app/myexec.cpp
ts::ProcessorPlugin::Status FooBarPlugin::processPacket(ts::TSPacket& pkt, ts::TSPacketMetadata& metadata)
{
    if (pkt.getPID() == _pid) {
        _count++;
    }
    return TSP_OK;
}
// Called every packet in the stream.
Called every packet in the stream.
Called every packet in the stream .
ts::ProcessorPlugin::Status FooBarPlugin::processPacket(ts::TSPacket& pkt, ts::TSPacketMetadata& metadata)
{
    if (pkt.getPID() == _pid) {
        _count++;
    }
    return TSP_OK;
}
ts :: ProcessorPlugin :: Status FooBarPlugin :: processPacket ( ts :: TSPacket & pkt , ts :: TSPacketMetadata & metadata ) { if ( pkt . getPID ( ) == _pid ) { _count ++ ; } return TSP_OK ; }
Called every packet in the stream.
Called every packet in the stream .