Skip to content

Commit b673a34

Browse files
committed
Reset hasEnded flag when rewinding
1 parent 5e4200a commit b673a34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mpeg.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ func (m *MPEG) Rewind() {
331331

332332
m.demux.Rewind()
333333
m.time = 0
334+
m.hasEnded = false
334335
}
335336

336337
// Loop returns looping.

0 commit comments

Comments
 (0)