FFmpeg
Data Fields
EncodeContext Struct Reference

Data Fields

AVCodecInternal avci
 
int intra_only_flag
 This is set to AV_PKT_FLAG_KEY for encoders that encode intra-only formats (i.e. More...
 
int last_audio_frame
 An audio frame with less than required samples has been submitted (and potentially padded with silence). More...
 

Detailed Description

Definition at line 40 of file encode.c.

Field Documentation

◆ avci

AVCodecInternal EncodeContext::avci

Definition at line 41 of file encode.c.

◆ intra_only_flag

int EncodeContext::intra_only_flag

This is set to AV_PKT_FLAG_KEY for encoders that encode intra-only formats (i.e.

whose codec descriptor has AV_CODEC_PROP_INTRA_ONLY set). This is used to set said flag generically for said encoders.

Definition at line 48 of file encode.c.

Referenced by encode_receive_packet_internal(), and ff_encode_preinit().

◆ last_audio_frame

int EncodeContext::last_audio_frame

An audio frame with less than required samples has been submitted (and potentially padded with silence).

Reject all subsequent frames.

Definition at line 54 of file encode.c.

Referenced by encode_send_frame_internal(), and pad_last_frame().


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