#[non_exhaustive]#[repr(u32)]pub enum AVStreamParseType {
AVSTREAM_PARSE_NONE = 0,
AVSTREAM_PARSE_FULL = 1,
AVSTREAM_PARSE_HEADERS = 2,
AVSTREAM_PARSE_TIMESTAMPS = 3,
AVSTREAM_PARSE_FULL_ONCE = 4,
AVSTREAM_PARSE_FULL_RAW = 5,
}
Expand description
@}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AVSTREAM_PARSE_NONE = 0
AVSTREAM_PARSE_FULL = 1
< full parsing and repack
AVSTREAM_PARSE_HEADERS = 2
< Only parse headers, do not repack.
AVSTREAM_PARSE_TIMESTAMPS = 3
< full parsing and interpolation of timestamps for frames not starting on a packet boundary
AVSTREAM_PARSE_FULL_ONCE = 4
< full parsing and repack of the first frame only, only implemented for H.264 currently
AVSTREAM_PARSE_FULL_RAW = 5
< full parsing and repack with timestamp and position generation by parser for raw this assumes that each packet in the file contains no demuxer level headers and just codec level data, otherwise position generation would fail
Trait Implementations§
Source§impl Clone for AVStreamParseType
impl Clone for AVStreamParseType
Source§fn clone(&self) -> AVStreamParseType
fn clone(&self) -> AVStreamParseType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AVStreamParseType
impl Debug for AVStreamParseType
Source§impl Hash for AVStreamParseType
impl Hash for AVStreamParseType
Source§impl PartialEq for AVStreamParseType
impl PartialEq for AVStreamParseType
impl Copy for AVStreamParseType
impl Eq for AVStreamParseType
impl StructuralPartialEq for AVStreamParseType
Auto Trait Implementations§
impl Freeze for AVStreamParseType
impl RefUnwindSafe for AVStreamParseType
impl Send for AVStreamParseType
impl Sync for AVStreamParseType
impl Unpin for AVStreamParseType
impl UnwindSafe for AVStreamParseType
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