Struct matroska_demuxer::Frame
source · pub struct Frame {
pub track: u64,
pub timestamp: u64,
pub data: Vec<u8>,
pub is_invisible: bool,
pub is_keyframe: Option<bool>,
pub is_discardable: Option<bool>,
}
Expand description
A data frame inside the Matroska container.
Fields§
§track: u64
The ID of the track.
timestamp: u64
The timestamp of the frame.
data: Vec<u8>
The data of the frame.
is_invisible: bool
Set when the codec should decode this frame but not display it.
is_keyframe: Option<bool>
Block marked this frame as a keyframe.
Only set for files that use simple blocks.
is_discardable: Option<bool>
Set when the frame can be discarded during playing if needed.
Only set for files that use simple blocks.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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