pub struct SampleToGroupBoxEntry {
pub sample_count: u32,
pub group_description_index: u32,
}Expand description
Entry in SampleToGroupBox.
Fields§
§sample_count: u32An integer that gives the number of consecutive samples with the same sample group
descriptor. It is an error for the total in this box to be greater than the sample_count documented
elsewhere, and the reader behaviour would then be undefined. If the sum of the sample count in
this box is less than the total sample count, or there is no SampleToGroupBox that applies to some
samples (e.g. it is absent from a track fragment), then those samples are associated with the group
identified by the default_group_description_index in the SampleGroupDescriptionBox, if any, or
else with no group.
group_description_index: u32An integer that gives the index of the sample group entry which describes
the samples in this group. The index ranges from 1 to the number of sample group entries in the
SampleGroupDescriptionBox, or takes the value 0 to indicate that this sample is a member of no
group of this type.