Skip to content

Commit

Permalink
Change AudioPlacement and VideoPlacement.PlayMethod to an array, as p…
Browse files Browse the repository at this point in the history
…er the spec
  • Loading branch information
jake-dog committed Jan 28, 2025
1 parent bb6e1c5 commit d48f84c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions adcom1/audio_placement.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ type AudioPlacement struct {
// Attribute:
// playmethod
// Type:
// integer
// integer array
// Definition:
// Playback method in use for this placement.
// Playback method(s) in use for this placement.
// Refer to List: Playback Methods.
PlayMethod PlaybackMethod `json:"playmethod,omitempty"`
PlayMethod []PlaybackMethod `json:"playmethod,omitempty"`

// Attribute:
// playend
Expand Down
6 changes: 3 additions & 3 deletions adcom1/video_placement.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ type VideoPlacement struct {
// Attribute:
// playmethod
// Type:
// integer
// integer array
// Definition:
// Playback method in use for this placement.
// Playback method(s) in use for this placement.
// Refer to List: Playback Methods.
PlayMethod PlaybackMethod `json:"playmethod,omitempty"`
PlayMethod []PlaybackMethod `json:"playmethod,omitempty"`

// Attribute:
// playend
Expand Down

0 comments on commit d48f84c

Please sign in to comment.