More robust device name parsing

This commit is contained in:
Alex Eidt 2021-12-27 22:25:33 -08:00
parent 7939e43840
commit 3fdb6a4808
3 changed files with 48 additions and 19 deletions

View file

@ -84,7 +84,6 @@ func NewVideoWriter(filename string, width, height int, options *Options) *Video
} else {
writer.codec = options.codec
}
return &writer
}