Added 'vidio: ' to error messages
This commit is contained in:
parent
6b8025301c
commit
2c6765173e
6 changed files with 91 additions and 115 deletions
|
@ -151,7 +151,7 @@ func NewVideoWriter(filename string, width, height int, options *Options) (*Vide
|
|||
|
||||
if options.StreamFile != "" {
|
||||
if !exists(options.StreamFile) {
|
||||
return nil, fmt.Errorf("file %s does not exist", options.StreamFile)
|
||||
return nil, fmt.Errorf("vidio: file %s does not exist", options.StreamFile)
|
||||
}
|
||||
writer.streamfile = options.StreamFile
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue