Added 'vidio: ' to error messages

This commit is contained in:
AlexEidt 2023-08-29 08:51:52 -07:00
parent 6b8025301c
commit 2c6765173e
6 changed files with 91 additions and 115 deletions

View file

@ -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
}