Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
feat(webmsaver): use seek head (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev authored Sep 23, 2020
1 parent f056424 commit 99a77c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/elements/webm.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package elements
import (
"sync"

"github.com/at-wat/ebml-go/mkvcore"
"github.com/at-wat/ebml-go/webm"

avp "github.com/pion/ion-avp/pkg"
Expand Down Expand Up @@ -151,7 +152,7 @@ func (s *WebmSaver) initWriter(width, height int) {
PixelHeight: uint64(height),
},
},
})
}, mkvcore.WithSeekHead(true))
if err != nil {
log.Errorf("init writer err: %s", err)
}
Expand Down

0 comments on commit 99a77c5

Please sign in to comment.