pub struct EncoderConfig {
pub codec: Codec,
pub timescale: u32,
pub decoder_config: Vec<u8>,
}Expand description
Codec and sample-entry information needed to declare an MP4 track.
Fields§
§codec: Codec§timescale: u32§decoder_config: Vec<u8>Complete codec configuration box, including its size and fourcc.
Trait Implementations§
Source§impl Clone for EncoderConfig
impl Clone for EncoderConfig
Source§impl Debug for EncoderConfig
impl Debug for EncoderConfig
impl Eq for EncoderConfig
Source§impl PartialEq for EncoderConfig
impl PartialEq for EncoderConfig
impl StructuralPartialEq for EncoderConfig
Auto Trait Implementations§
impl Forget for EncoderConfig
impl Freeze for EncoderConfig
impl Move for EncoderConfig
impl RefUnwindSafe for EncoderConfig
impl Send for EncoderConfigwhere
RawVecInner: Send,
impl Sync for EncoderConfigwhere
RawVecInner: Sync,
impl Unpin for EncoderConfig
impl UnsafeUnpin for EncoderConfig
impl UnwindSafe for EncoderConfigwhere
RawVecInner: UnwindSafe,
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