FFmpeg
Data Fields
FFPacketSync Struct Reference

Packet sync structure. More...

#include <packetsync.h>

Data Fields

const AVClassclass
 
AVBitStreamFilterContextparent
 Parent filter context. More...
 
unsigned nb_in
 Number of input streams. More...
 
AVRational time_base
 Time base for the output events. More...
 
int64_t pts
 Timestamp of the current event. More...
 
int(* on_event )(struct FFPacketSync *fs)
 Callback called when a packet event is ready. More...
 
void * opaque
 Opaque pointer, not used by the API. More...
 
unsigned in_request
 Index of the input that requires a request. More...
 
unsigned sync_level
 Synchronization level: only inputs with the same sync level are sync sources. More...
 
uint8_t pkt_ready
 Flag indicating that a packet event is ready. More...
 
uint8_t eof
 Flag indicating that output has reached EOF. More...
 
FFPacketSyncInin
 Pointer to array of inputs. More...
 
int opt_eof_action
 
int opt_ts_sync_mode
 

Detailed Description

Packet sync structure.

Definition at line 160 of file packetsync.h.

Field Documentation

◆ class

const AVClass* FFPacketSync::class

Definition at line 161 of file packetsync.h.

◆ parent

AVBitStreamFilterContext* FFPacketSync::parent

Parent filter context.

Definition at line 166 of file packetsync.h.

◆ nb_in

unsigned FFPacketSync::nb_in

Number of input streams.

Definition at line 171 of file packetsync.h.

◆ time_base

AVRational FFPacketSync::time_base

Time base for the output events.

Definition at line 176 of file packetsync.h.

Referenced by config_output().

◆ pts

int64_t FFPacketSync::pts

Timestamp of the current event.

Definition at line 181 of file packetsync.h.

◆ on_event

int(* FFPacketSync::on_event) (struct FFPacketSync *fs)

Callback called when a packet event is ready.

Definition at line 186 of file packetsync.h.

Referenced by init().

◆ opaque

void* FFPacketSync::opaque

Opaque pointer, not used by the API.

Definition at line 191 of file packetsync.h.

◆ in_request

unsigned FFPacketSync::in_request

Index of the input that requires a request.

Definition at line 196 of file packetsync.h.

◆ sync_level

unsigned FFPacketSync::sync_level

Synchronization level: only inputs with the same sync level are sync sources.

Definition at line 202 of file packetsync.h.

◆ pkt_ready

uint8_t FFPacketSync::pkt_ready

Flag indicating that a packet event is ready.

Definition at line 207 of file packetsync.h.

◆ eof

uint8_t FFPacketSync::eof

Flag indicating that output has reached EOF.

Definition at line 212 of file packetsync.h.

◆ in

FFPacketSyncIn* FFPacketSync::in

Pointer to array of inputs.

Definition at line 217 of file packetsync.h.

◆ opt_eof_action

int FFPacketSync::opt_eof_action

Definition at line 219 of file packetsync.h.

◆ opt_ts_sync_mode

int FFPacketSync::opt_ts_sync_mode

Definition at line 220 of file packetsync.h.


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