File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ type EventStream struct {
77 SchemeIDURI * string `xml:"schemeIdUri,attr"`
88 Value * string `xml:"value,attr,omitempty"`
99 Timescale * int64 `xml:"timescale,attr"`
10- Events []* Event `xml:"Event,omitempty"`
10+ Events []Event `xml:"Event,omitempty"`
1111}
1212
1313type Event struct {
Original file line number Diff line number Diff line change @@ -22,19 +22,19 @@ func newEventStreamMPD() *MPD {
2222 )
2323 p := m .GetCurrentPeriod ()
2424
25- es := & EventStream {
25+ es := EventStream {
2626 SchemeIDURI : ptrs .Strptr (VALID_EVENT_STREAM_SCHEME_ID_URI ),
2727 Value : ptrs .Strptr (VALID_EVENT_STREAM_VALUE ),
2828 Timescale : ptrs .Int64ptr (VALID_EVENT_STREAM_TIMESCALE ),
2929 }
3030
31- e0 := & Event {
31+ e0 := Event {
3232 ID : ptrs .Strptr ("event-0" ),
3333 PresentationTime : ptrs .Int64ptr (100 ),
3434 Duration : ptrs .Int64ptr (50 ),
3535 }
3636
37- e1 := & Event {
37+ e1 := Event {
3838 ID : ptrs .Strptr ("event-1" ),
3939 PresentationTime : ptrs .Int64ptr (200 ),
4040 Duration : ptrs .Int64ptr (50 ),
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ type Period struct {
9292 SegmentList * SegmentList `xml:"SegmentList,omitempty"`
9393 SegmentTemplate * SegmentTemplate `xml:"SegmentTemplate,omitempty"`
9494 AdaptationSets []* AdaptationSet `xml:"AdaptationSet,omitempty"`
95- EventStreams []* EventStream `xml:"EventStream,omitempty"`
95+ EventStreams []EventStream `xml:"EventStream,omitempty"`
9696}
9797
9898type DescriptorType struct {
You can’t perform that action at this time.
0 commit comments