FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVProgram Struct Reference

New fields can be added to the end with minor version bumps. More...

#include <avformat.h>

Data Fields

int id
 
int flags
 
enum AVDiscard discard
 selects which program to discard and which to feed to the caller More...
 
unsigned int * stream_index
 
unsigned int nb_stream_indexes
 
AVDictionarymetadata
 
int program_num
 
int pmt_pid
 
int pcr_pid
 
int64_t start_time
 
int64_t end_time
 
int64_t pts_wrap_reference
 reference dts for wrap detection More...
 
int pts_wrap_behavior
 behavior on wrap detection More...
 

Detailed Description

New fields can be added to the end with minor version bumps.

Removal, reordering and changes to existing fields require a major version bump. sizeof(AVProgram) must not be used outside libav*.

Definition at line 1252 of file avformat.h.

Field Documentation

int AVProgram::id
int AVProgram::flags

Definition at line 1254 of file avformat.h.

enum AVDiscard AVProgram::discard

selects which program to discard and which to feed to the caller

Definition at line 1255 of file avformat.h.

Referenced by av_new_program(), discard_pid(), and mpegts_push_data().

unsigned int* AVProgram::stream_index
unsigned int AVProgram::nb_stream_indexes
AVDictionary* AVProgram::metadata
int AVProgram::program_num

Definition at line 1260 of file avformat.h.

Referenced by pat_cb(), and show_program().

int AVProgram::pmt_pid

Definition at line 1261 of file avformat.h.

Referenced by pat_cb(), and show_program().

int AVProgram::pcr_pid

Definition at line 1262 of file avformat.h.

Referenced by mpegts_push_data(), set_pcr_pid(), and show_program().

int64_t AVProgram::start_time

Definition at line 1271 of file avformat.h.

Referenced by av_new_program(), show_program(), and update_stream_timings().

int64_t AVProgram::end_time

Definition at line 1272 of file avformat.h.

Referenced by av_new_program(), show_program(), and update_stream_timings().

int64_t AVProgram::pts_wrap_reference

reference dts for wrap detection

Definition at line 1274 of file avformat.h.

Referenced by av_new_program(), and update_wrap_reference().

int AVProgram::pts_wrap_behavior

behavior on wrap detection

Definition at line 1275 of file avformat.h.

Referenced by av_new_program(), and update_wrap_reference().


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