Struct rsmpeg::ffi::AVProgram[][src]

#[repr(C)]
pub struct AVProgram {
Show fields pub id: i32, pub flags: i32, pub discard: i32, pub stream_index: *mut u32, pub nb_stream_indexes: u32, pub metadata: *mut AVDictionary, pub program_num: i32, pub pmt_pid: i32, pub pcr_pid: i32, pub pmt_version: i32, pub start_time: i64, pub end_time: i64, pub pts_wrap_reference: i64, pub pts_wrap_behavior: i32,
}
Expand 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*.

Fields

id: i32flags: i32discard: i32

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

stream_index: *mut u32nb_stream_indexes: u32metadata: *mut AVDictionaryprogram_num: i32pmt_pid: i32pcr_pid: i32pmt_version: i32start_time: i64

All fields below this line are not part of the public API. They may not be used outside of libavformat and can be changed and removed at will. New public fields should be added right above.

end_time: i64pts_wrap_reference: i64

< reference dts for wrap detection

pts_wrap_behavior: i32

< behavior on wrap detection

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.