FFmpeg
Data Fields
FFPacketSyncIn Struct Reference

Input stream structure. More...

#include <packetsync.h>

Data Fields

enum FFPacketSyncExtMode before
 Extrapolation mode for timestamps before the first packet. More...
 
enum FFPacketSyncExtMode after
 Extrapolation mode for timestamps after the last packet. More...
 
AVRational time_base
 Time base for the incoming packets. More...
 
AVPacketpkt
 Current packet, may be NULL before the first one or after EOF. More...
 
AVPacketpkt_next
 Next packet, for internal use. More...
 
int64_t pts
 PTS of the current packet. More...
 
int64_t pts_next
 PTS of the next packet, for internal use. More...
 
uint8_t have_next
 Boolean flagging the next packet, for internal use. More...
 
uint8_t state
 State: before first, in stream or after EOF, for internal use. More...
 
unsigned sync
 Synchronization level: packets on input at the highest sync level will generate output packet events. More...
 
enum FFPacketTSSyncMode ts_mode
 

Detailed Description

Input stream structure.

Definition at line 94 of file packetsync.h.

Field Documentation

◆ before

enum FFPacketSyncExtMode FFPacketSyncIn::before

Extrapolation mode for timestamps before the first packet.

Definition at line 99 of file packetsync.h.

◆ after

enum FFPacketSyncExtMode FFPacketSyncIn::after

Extrapolation mode for timestamps after the last packet.

Definition at line 104 of file packetsync.h.

◆ time_base

AVRational FFPacketSyncIn::time_base

Time base for the incoming packets.

Definition at line 109 of file packetsync.h.

◆ pkt

AVPacket* FFPacketSyncIn::pkt

Current packet, may be NULL before the first one or after EOF.

Definition at line 114 of file packetsync.h.

◆ pkt_next

AVPacket* FFPacketSyncIn::pkt_next

Next packet, for internal use.

Definition at line 119 of file packetsync.h.

◆ pts

int64_t FFPacketSyncIn::pts

PTS of the current packet.

Definition at line 124 of file packetsync.h.

◆ pts_next

int64_t FFPacketSyncIn::pts_next

PTS of the next packet, for internal use.

Definition at line 129 of file packetsync.h.

◆ have_next

uint8_t FFPacketSyncIn::have_next

Boolean flagging the next packet, for internal use.

Definition at line 134 of file packetsync.h.

◆ state

uint8_t FFPacketSyncIn::state

State: before first, in stream or after EOF, for internal use.

Definition at line 139 of file packetsync.h.

◆ sync

unsigned FFPacketSyncIn::sync

Synchronization level: packets on input at the highest sync level will generate output packet events.

For example, if inputs #0 and #1 have sync level 2 and input #2 has sync level 1, then a packet on either input #0 or #1 will generate a packet event, but not a packet on input #2 until both inputs #0 and #1 have reached EOF.

If sync is 0, no packet event will be generated.

Definition at line 152 of file packetsync.h.

◆ ts_mode

enum FFPacketTSSyncMode FFPacketSyncIn::ts_mode

Definition at line 154 of file packetsync.h.


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