pub struct Decoders {
pub video: BTreeSet<VideoCodec>,
pub hardware_video: Option<BTreeSet<VideoCodec>>,
pub audio: BTreeSet<AudioCodec>,
pub containers: BTreeSet<Container>,
pub subtitles: BTreeSet<SubtitleFormat>,
pub delivery: Vec<Delivery>,
pub max_audio_channels: Option<u32>,
pub video_codecs: Option<BTreeSet<String>>,
}Expand description
What a device’s player decodes, as it found it.
Fields§
§video: BTreeSet<VideoCodec>§hardware_video: Option<BTreeSet<VideoCodec>>Those of video decoded in hardware; None when the player does
not say.
audio: BTreeSet<AudioCodec>§containers: BTreeSet<Container>§subtitles: BTreeSet<SubtitleFormat>§delivery: Vec<Delivery>Preferred first; empty is range reads, then a progressive stream.
max_audio_channels: Option<u32>§video_codecs: Option<BTreeSet<String>>The RFC 6381 strings the player takes; None when not asked.
Trait Implementations§
impl Eq for Decoders
impl StructuralPartialEq for Decoders
Auto Trait Implementations§
impl Freeze for Decoders
impl RefUnwindSafe for Decoders
impl Send for Decoders
impl Sync for Decoders
impl Unpin for Decoders
impl UnsafeUnpin for Decoders
impl UnwindSafe for Decoders
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