Skip to content

Commit d48f84c

Browse files
committed
Change AudioPlacement and VideoPlacement.PlayMethod to an array, as per the spec
1 parent bb6e1c5 commit d48f84c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

adcom1/audio_placement.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ type AudioPlacement struct {
4040
// Attribute:
4141
// playmethod
4242
// Type:
43-
// integer
43+
// integer array
4444
// Definition:
45-
// Playback method in use for this placement.
45+
// Playback method(s) in use for this placement.
4646
// Refer to List: Playback Methods.
47-
PlayMethod PlaybackMethod `json:"playmethod,omitempty"`
47+
PlayMethod []PlaybackMethod `json:"playmethod,omitempty"`
4848

4949
// Attribute:
5050
// playend

adcom1/video_placement.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ type VideoPlacement struct {
6060
// Attribute:
6161
// playmethod
6262
// Type:
63-
// integer
63+
// integer array
6464
// Definition:
65-
// Playback method in use for this placement.
65+
// Playback method(s) in use for this placement.
6666
// Refer to List: Playback Methods.
67-
PlayMethod PlaybackMethod `json:"playmethod,omitempty"`
67+
PlayMethod []PlaybackMethod `json:"playmethod,omitempty"`
6868

6969
// Attribute:
7070
// playend

0 commit comments

Comments
 (0)