2.5.21 IDeckLinkAncillaryPacketIterator Interface¶
The IDeckLinkAncillaryPacketIterator
interface is used to enumerate the available ancillary packets in a video frame.
A reference to an IDeckLinkAncillaryPacketIterator
interface for an input video frame may be obtained by calling GetPacketIterator on a IDeckLinkVideoFrameAncillaryPackets
interface.
Interface |
Interface ID |
Description |
---|---|---|
IID_IDeckLinkAncillaryPacket |
|
|
IID_IDeckLinkVideoFrameAncillaryPackets |
|
2.5.21.1 IDeckLinkAncillaryPacketIterator::Next method¶
-
HRESULT IDeckLinkAncillaryPacketIterator::Next(IDeckLinkAncillaryPacket **packet);¶
The Next method creates an object representing an ancillary data packet and assigns the address of the
IDeckLinkAncillaryPacket
interface of the newly created object to the packet parameter.- Parameters:
packet – Pointer to
IDeckLinkAncillaryPacket
interface object or NULL when no more ancillary packets are available. This object must be released by the caller when no longer required.- Return values:
E_INVALIDARG – Parameter packet variable is NULL
S_FALSE – No (more) packets found
S_OK – Success