FFmpeg
Data Fields
FifoContext Struct Reference

Data Fields

const AVClassclass
 
AVFormatContextavf
 
char * format
 
AVDictionaryformat_options
 
int queue_size
 
AVThreadMessageQueuequeue
 
pthread_t writer_thread
 
int write_trailer_ret
 
int64_t recovery_wait_time
 
int max_recovery_attempts
 
int attempt_recovery
 
int recovery_wait_streamtime
 
int recover_any_error
 
int drop_pkts_on_overflow
 
int restart_with_keyframe
 
pthread_mutex_t overflow_flag_lock
 
int overflow_flag_lock_initialized
 
volatile uint8_t overflow_flag
 
atomic_int_least64_t queue_duration
 
int64_t last_sent_dts
 
int64_t timeshift
 

Detailed Description

Definition at line 37 of file fifo.c.

Field Documentation

◆ class

const AVClass* FifoContext::class

Definition at line 38 of file fifo.c.

◆ avf

AVFormatContext* FifoContext::avf

◆ format

char* FifoContext::format

Definition at line 41 of file fifo.c.

Referenced by fifo_init().

◆ format_options

AVDictionary* FifoContext::format_options

Definition at line 42 of file fifo.c.

Referenced by fifo_thread_write_header().

◆ queue_size

int FifoContext::queue_size

Definition at line 44 of file fifo.c.

Referenced by fifo_init().

◆ queue

AVThreadMessageQueue* FifoContext::queue

◆ writer_thread

pthread_t FifoContext::writer_thread

Definition at line 47 of file fifo.c.

Referenced by fifo_write_header(), and fifo_write_trailer().

◆ write_trailer_ret

int FifoContext::write_trailer_ret

Definition at line 50 of file fifo.c.

Referenced by fifo_consumer_thread(), fifo_thread_attempt_recovery(), and fifo_write_trailer().

◆ recovery_wait_time

int64_t FifoContext::recovery_wait_time

Definition at line 55 of file fifo.c.

Referenced by fifo_thread_attempt_recovery(), and fifo_thread_recover().

◆ max_recovery_attempts

int FifoContext::max_recovery_attempts

Definition at line 58 of file fifo.c.

Referenced by fifo_thread_attempt_recovery(), and fifo_thread_process_recovery_failure().

◆ attempt_recovery

int FifoContext::attempt_recovery

Definition at line 61 of file fifo.c.

Referenced by is_recoverable().

◆ recovery_wait_streamtime

int FifoContext::recovery_wait_streamtime

◆ recover_any_error

int FifoContext::recover_any_error

Definition at line 69 of file fifo.c.

Referenced by is_recoverable().

◆ drop_pkts_on_overflow

int FifoContext::drop_pkts_on_overflow

◆ restart_with_keyframe

int FifoContext::restart_with_keyframe

Definition at line 76 of file fifo.c.

Referenced by fifo_consumer_thread(), and fifo_thread_attempt_recovery().

◆ overflow_flag_lock

pthread_mutex_t FifoContext::overflow_flag_lock

Definition at line 78 of file fifo.c.

Referenced by fifo_consumer_thread(), fifo_deinit(), fifo_init(), and fifo_write_packet().

◆ overflow_flag_lock_initialized

int FifoContext::overflow_flag_lock_initialized

Definition at line 79 of file fifo.c.

Referenced by fifo_deinit(), and fifo_init().

◆ overflow_flag

volatile uint8_t FifoContext::overflow_flag

Definition at line 81 of file fifo.c.

Referenced by fifo_consumer_thread(), and fifo_write_packet().

◆ queue_duration

atomic_int_least64_t FifoContext::queue_duration

◆ last_sent_dts

int64_t FifoContext::last_sent_dts

Definition at line 84 of file fifo.c.

Referenced by fifo_init(), and fifo_write_packet().

◆ timeshift

int64_t FifoContext::timeshift

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