Updated README

This commit is contained in:
Alex Eidt 2022-07-25 23:03:34 -07:00
parent 8afa8f63fb
commit 3948f3dc37
2 changed files with 6 additions and 45 deletions

View file

@ -98,6 +98,10 @@ func NewVideoWriter(filename string, width, height int, options *Options) (*Vide
writer := VideoWriter{filename: filename}
if options == nil {
options = &Options{}
}
writer.width = width
writer.height = height
writer.bitrate = options.Bitrate