TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::PESProviderInterface Class Referenceabstract

Abstract interface for classes which provide PES packets into a Packetizer. More...

#include <tsPESProviderInterface.h>

Inheritance diagram for ts::PESProviderInterface:

Public Member Functions

virtual void providePESPacket (PacketCounter counter, PESPacketPtr &pes)=0
 This hook is invoked when a new PES packet is required.
 

Detailed Description

Abstract interface for classes which provide PES packets into a Packetizer.

This abstract interface must be implemented by classes which provide PES packets into a Packetizer.

Member Function Documentation

◆ providePESPacket()

virtual void ts::PESProviderInterface::providePESPacket ( PacketCounter  counter,
PESPacketPtr pes 
)
pure virtual

This hook is invoked when a new PES packet is required.

Parameters
[in]counterThe PES counter is an information on the progression (zero the first time the hook is invoked from the packetizer).
[out]pesA smart pointer to the next PES packet to packetize. If a null pointer is provided, no PES packet is available.

The documentation for this class was generated from the following file: