Skip to content

Commit

Permalink
seq num slide fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mraychenko committed Mar 27, 2018
1 parent 6ab8f28 commit f03b1f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,6 @@ func (p *MediaPlaylist) AppendSegment(seg *MediaSegment) error {
func (p *MediaPlaylist) Slide(uri string, duration float64, title string) {
if !p.Closed && p.count >= p.winsize {
p.Remove()
} else if !p.Closed {
p.SeqNo++
}
p.Append(uri, duration, title)
}
Expand Down

0 comments on commit f03b1f8

Please sign in to comment.