#[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,
}展开描述
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: i64All 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 实现§
impl Copy for AVProgram
impl Eq for AVProgram
impl StructuralPartialEq for AVProgram
自动 trait 实现§
impl Freeze for AVProgram
impl RefUnwindSafe for AVProgram
impl !Send for AVProgram
impl !Sync for AVProgram
impl Unpin for AVProgram
impl UnsafeUnpin for AVProgram
impl UnwindSafe for AVProgram
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多