pub struct TrackSelectionBox {
pub full_header: FullBoxHeader,
pub switch_group: i32,
pub attribute_list: Vec<[u8; 4]>,
}Expand description
Track selection box
ISO/IEC 14496-12 - 8.10.3
Fields§
§full_header: FullBoxHeaderThe full box header.
switch_group: i32An integer that specifies a group or collection of tracks. If this field is 0 (default value)
or if the TrackSelectionBox is absent there is no information on whether the track can be used for
switching during playing or streaming. If this integer is not 0 it shall be the same for tracks that can
be used for switching between each other. Tracks that belong to the same switch group shall belong
to the same alternate group. A switch group may have only one member.
attribute_list: Vec<[u8; 4]>A list, to the end of the box, of attributes. The attributes in this list should be used as descriptions of tracks or differentiation criteria for tracks in the same alternate or switch group. Each differentiating attribute is associated with a pointer to the field or information that distinguishes the track.
Trait Implementations§
Source§impl Debug for TrackSelectionBox
impl Debug for TrackSelectionBox
Source§impl<'a> Deserialize<'a> for TrackSelectionBox
impl<'a> Deserialize<'a> for TrackSelectionBox
Source§fn deserialize<R>(reader: R) -> Result<Self>where
R: ZeroCopyReader<'a>,
fn deserialize<R>(reader: R) -> Result<Self>where
R: ZeroCopyReader<'a>,
Source§impl<'a> DeserializeSeed<'a, BoxHeader> for TrackSelectionBox
impl<'a> DeserializeSeed<'a, BoxHeader> for TrackSelectionBox
Source§fn deserialize_seed<R>(reader: R, seed: BoxHeader) -> Result<Self>where
R: ZeroCopyReader<'a>,
fn deserialize_seed<R>(reader: R, seed: BoxHeader) -> Result<Self>where
R: ZeroCopyReader<'a>,
Source§impl IsoBox for TrackSelectionBox
impl IsoBox for TrackSelectionBox
Source§fn add_header_size(payload_size: usize) -> usize
fn add_header_size(payload_size: usize) -> usize
Source§fn box_header(&self) -> BoxHeader
fn box_header(&self) -> BoxHeader
BoxHeader for this box.Source§fn serialize_box_header<W>(&self, writer: W) -> Result<()>where
W: Write,
fn serialize_box_header<W>(&self, writer: W) -> Result<()>where
W: Write,
IsoBox::box_header to the given writer.