#[repr(C)]pub struct AVProgram {Show 14 fields
pub id: c_int,
pub flags: c_int,
pub discard: AVDiscard,
pub stream_index: *mut c_uint,
pub nb_stream_indexes: c_uint,
pub metadata: *mut AVDictionary,
pub program_num: c_int,
pub pmt_pid: c_int,
pub pcr_pid: c_int,
pub pmt_version: c_int,
pub start_time: i64,
pub end_time: i64,
pub pts_wrap_reference: i64,
pub pts_wrap_behavior: c_int,
}
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: c_int
§flags: c_int
§discard: AVDiscard
< selects which program to discard and which to feed to the caller
stream_index: *mut c_uint
§nb_stream_indexes: c_uint
§metadata: *mut AVDictionary
§program_num: c_int
§pmt_pid: c_int
§pcr_pid: c_int
§pmt_version: c_int
§start_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: i64
§pts_wrap_reference: i64
< reference dts for wrap detection
pts_wrap_behavior: c_int
< behavior on wrap detection
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AVProgram
impl RefUnwindSafe for AVProgram
impl !Send for AVProgram
impl !Sync for AVProgram
impl Unpin for AVProgram
impl UnwindSafe for AVProgram
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more