Updated README
This commit is contained in:
parent
8afa8f63fb
commit
3948f3dc37
2 changed files with 6 additions and 45 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue