pub struct CodecInfo {
pub id: Codec,
pub kind: CodecKind,
pub display_name: String,
pub ffmpeg_encoder: Option<String>,
pub ffmpeg_decoder: Option<String>,
pub compatible_formats: Vec<Format>,
}Expand description
Metadata about a codec.
Fields§
§id: CodecCodec identifier.
kind: CodecKindWhat domain this codec belongs to.
display_name: StringHuman-readable name.
ffmpeg_encoder: Option<String>FFmpeg encoder name (e.g., “libx264”).
ffmpeg_decoder: Option<String>FFmpeg decoder name.
compatible_formats: Vec<Format>Compatible container formats.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodecInfo
impl RefUnwindSafe for CodecInfo
impl Send for CodecInfo
impl Sync for CodecInfo
impl Unpin for CodecInfo
impl UnsafeUnpin for CodecInfo
impl UnwindSafe for CodecInfo
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