Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #9 from jamie-stackhouse/typo-fixes
Browse files Browse the repository at this point in the history
Fixing typos in a parsing commands (patch by jamie-stackhouse).
  • Loading branch information
grafov committed Nov 9, 2014
2 parents bd6526c + d540e38 commit e67b026
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (p *MasterPlaylist) Encode() *bytes.Buffer {
for _, pl := range p.Variants {
if pl.Alternatives != nil {
for _, alt := range pl.Alternatives {
p.buf.WriteString("#EXT-X-MEDA:")
p.buf.WriteString("#EXT-X-MEDIA:")
if alt.Type != "" {
p.buf.WriteString("TYPE=\"")
p.buf.WriteString(alt.Type)
Expand Down Expand Up @@ -109,7 +109,7 @@ func (p *MasterPlaylist) Encode() *bytes.Buffer {
p.buf.WriteRune('"')
}
if alt.Characteristics != "" {
p.buf.WriteString(",CHARACTERESTICS=\"")
p.buf.WriteString(",CHARACTERISTICS=\"")
p.buf.WriteString(alt.Characteristics)
p.buf.WriteRune('"')
}
Expand Down

0 comments on commit e67b026

Please sign in to comment.