Skip to content

Commit

Permalink
Merge pull request #4 from jwplayer/develop
Browse files Browse the repository at this point in the history
fixes FORCED= attribute in writer
  • Loading branch information
rogerpales authored May 18, 2023
2 parents 67c9ec4 + b2d4505 commit 8e09125
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,8 @@ func (p *MasterPlaylist) Encode() *bytes.Buffer {
p.buf.WriteRune('"')
}
if alt.Forced != "" {
p.buf.WriteString(",FORCED=\"")
p.buf.WriteString(",FORCED=")
p.buf.WriteString(alt.Forced)
p.buf.WriteRune('"')
}
if alt.Characteristics != "" {
p.buf.WriteString(",CHARACTERISTICS=\"")
Expand Down

0 comments on commit 8e09125

Please sign in to comment.