Skip to content

Commit

Permalink
Merge pull request #7 from broganross/master
Browse files Browse the repository at this point in the history
FORCED should be enumerated-string of YES or NO, not a quoted string
  • Loading branch information
NhanNguyen700 authored Jan 23, 2024
2 parents 134eb1c + 3a35897 commit 7ed1217
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 7ed1217

Please sign in to comment.