Expand description
SegmentTemplate identifier scanning and substitution (ISO/IEC 23009-1
5.3.9.4.4, Table 21).
The scan is strict: a $ that does not enclose a known identifier makes
the whole template invalid, which the spec resolves by dropping the
containing Representation (5.3.9.4.4 step 2). Format tags are %0<width>d
only. Substitution itself is transmux::SegmentTemplate::resolve, so the
two crates cannot disagree about widths or $$.
Structs§
- Template
Use - Which identifiers a template contains.
Enums§
- Template
Fault - Why a template is invalid.
Functions§
- scan
- Scan
templateand report the identifiers it uses. - scan_
initialization - Validate an initialization template: neither
$Number$nor$Time$. - scan_
media - Validate a media/index template: exactly one of
$Number$/$Time$. - substitute
- Substitute the identifiers of an already scanned template.