Skip to content

Commit

Permalink
Merge pull request #129 from agparadiso/add_newline_after_discontinui…
Browse files Browse the repository at this point in the history
…ty_sequence

fix: add new line after #EXT-X-DISCONTINUITY-SEQUENCE
  • Loading branch information
leikao authored Apr 22, 2019
2 parents 4ca66f5 + d26feeb commit 6b811b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ func (p *MediaPlaylist) Encode() *bytes.Buffer {
if p.DiscontinuitySeq != 0 {
p.buf.WriteString("#EXT-X-DISCONTINUITY-SEQUENCE:")
p.buf.WriteString(strconv.FormatUint(uint64(p.DiscontinuitySeq), 10))
p.buf.WriteRune('\n')
}
if p.Iframe {
p.buf.WriteString("#EXT-X-I-FRAMES-ONLY\n")
Expand Down

0 comments on commit 6b811b7

Please sign in to comment.