FFmpeg
Loading...
Searching...
No Matches
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
 
  selects which program to discard and which to feed to the caller
 
unsigned int *  stream_index
 
unsigned int  nb_stream_indexes
 
 
int  program_num
 
int  pmt_pid
 
int  pcr_pid
 
int  pmt_version
 
 
 
  reference dts for wrap detection
 
  behavior on wrap detection
 

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 1257 of file avformat.h.

Field Documentation

◆  id

int AVProgram::id

Definition at line 1258 of file avformat.h.

Referenced by av_dump_format(), av_new_program(), av_program_add_stream_index2(), av_program_copy(), clear_avprogram(), discard_pid(), mpegts_init(), open_slave(), pat_cb(), show_program(), and update_av_program_info().

◆  flags

int AVProgram::flags

Definition at line 1259 of file avformat.h.

Referenced by av_program_copy().

◆  discard

enum AVDiscard AVProgram::discard

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

Definition at line 1260 of file avformat.h.

Referenced by av_new_program(), av_program_copy(), discard_pid(), playlist_needed(), and scte_data_cb().

◆  stream_index

unsigned int* AVProgram::stream_index

Definition at line 1261 of file avformat.h.

Referenced by av_dump_format(), av_find_program_from_stream(), av_program_add_stream_index2(), av_program_copy(), mpegts_write_pmt(), playlist_needed(), select_pcr_streams(), show_program(), and update_wrap_reference().

◆  nb_stream_indexes

unsigned int AVProgram::nb_stream_indexes

Definition at line 1262 of file avformat.h.

Referenced by av_dump_format(), av_find_program_from_stream(), av_program_add_stream_index2(), av_program_copy(), clear_avprogram(), mpegts_write_pmt(), playlist_needed(), select_pcr_streams(), show_program(), and update_wrap_reference().

◆  metadata

AVDictionary* AVProgram::metadata

Definition at line 1263 of file avformat.h.

Referenced by av_dump_format(), av_program_copy(), hls_read_header(), mpegts_init(), of_add_metadata(), of_add_programs(), sdt_cb(), and show_program().

◆  program_num

int AVProgram::program_num

Definition at line 1265 of file avformat.h.

Referenced by av_program_copy(), pat_cb(), and show_program().

◆  pmt_pid

int AVProgram::pmt_pid

Definition at line 1266 of file avformat.h.

Referenced by av_program_copy(), pat_cb(), and show_program().

◆  pcr_pid

int AVProgram::pcr_pid

Definition at line 1267 of file avformat.h.

Referenced by av_program_copy(), scte_data_cb(), show_program(), and update_av_program_info().

◆  pmt_version

int AVProgram::pmt_version

Definition at line 1268 of file avformat.h.

Referenced by av_new_program(), av_program_copy(), and update_av_program_info().

◆  start_time

int64_t AVProgram::start_time

Definition at line 1277 of file avformat.h.

Referenced by av_new_program().

◆  end_time

int64_t AVProgram::end_time

Definition at line 1278 of file avformat.h.

Referenced by av_new_program().

◆  pts_wrap_reference

int64_t AVProgram::pts_wrap_reference

reference dts for wrap detection

Definition at line 1280 of file avformat.h.

Referenced by av_new_program(), and update_wrap_reference().

◆  pts_wrap_behavior

int AVProgram::pts_wrap_behavior

behavior on wrap detection

Definition at line 1281 of file avformat.h.

Referenced by av_new_program(), and update_wrap_reference().


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

Generated on Sun Sep 6 2026 19:21:25 for FFmpeg by doxygen 1.13.2

AltStyle によって変換されたページ (->オリジナル) /