Skip to content

Commit

Permalink
fixed write FORCED attribute unquoted. E.g. FORCED=NO
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerpales committed May 17, 2023
1 parent 4486502 commit 43a1571
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 43a1571

Please sign in to comment.