@@ -167,26 +167,25 @@ type dtoAdaptationSet struct {
167167
168168type AdaptationSet struct {
169169 CommonAttributesAndElements
170- XMLName xml.Name `xml:"AdaptationSet"`
171- ID * string `xml:"id,attr"`
172- SegmentAlignment * bool `xml:"segmentAlignment,attr"`
173- Lang * string `xml:"lang,attr"`
174- Group * string `xml:"group,attr"`
175- PAR * string `xml:"par,attr"`
176- MinBandwidth * string `xml:"minBandwidth,attr"`
177- MaxBandwidth * string `xml:"maxBandwidth,attr"`
178- MinWidth * string `xml:"minWidth,attr"`
179- MaxWidth * string `xml:"maxWidth,attr"`
180- MinHeight * string `xml:"minHeight,attr"`
181- MaxHeight * string `xml:"maxHeight,attr"`
182- ContentType * string `xml:"contentType,attr"`
183- ContentProtection []ContentProtectioner `xml:"ContentProtection,omitempty"` // Common attribute, can be deprecated here
184- Roles []* Role `xml:"Role,omitempty"`
185- SegmentBase * SegmentBase `xml:"SegmentBase,omitempty"`
186- SegmentList * SegmentList `xml:"SegmentList,omitempty"`
187- SegmentTemplate * SegmentTemplate `xml:"SegmentTemplate,omitempty"` // Live Profile Only
188- Representations []* Representation `xml:"Representation,omitempty"`
189- AccessibilityElems []* Accessibility `xml:"Accessibility,omitempty"`
170+ XMLName xml.Name `xml:"AdaptationSet"`
171+ ID * string `xml:"id,attr"`
172+ SegmentAlignment * bool `xml:"segmentAlignment,attr"`
173+ Lang * string `xml:"lang,attr"`
174+ Group * string `xml:"group,attr"`
175+ PAR * string `xml:"par,attr"`
176+ MinBandwidth * string `xml:"minBandwidth,attr"`
177+ MaxBandwidth * string `xml:"maxBandwidth,attr"`
178+ MinWidth * string `xml:"minWidth,attr"`
179+ MaxWidth * string `xml:"maxWidth,attr"`
180+ MinHeight * string `xml:"minHeight,attr"`
181+ MaxHeight * string `xml:"maxHeight,attr"`
182+ ContentType * string `xml:"contentType,attr"`
183+ Roles []* Role `xml:"Role,omitempty"`
184+ SegmentBase * SegmentBase `xml:"SegmentBase,omitempty"`
185+ SegmentList * SegmentList `xml:"SegmentList,omitempty"`
186+ SegmentTemplate * SegmentTemplate `xml:"SegmentTemplate,omitempty"` // Live Profile Only
187+ Representations []* Representation `xml:"Representation,omitempty"`
188+ AccessibilityElems []* Accessibility `xml:"Accessibility,omitempty"`
190189}
191190
192191func (as * AdaptationSet ) UnmarshalXML (d * xml.Decoder , start xml.StartElement ) error {
0 commit comments