fixing comments

This commit is contained in:
Ella Pietraroia 2020-01-31 14:25:26 +10:30
parent e107b682bb
commit 0189fad0e2
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ const (
type pixel struct{ r, g, b uint32 }
// BasicFilter is a filter that provides basic motion detection via a difference
// Basic is a filter that provides basic motion detection via a difference
// method.
type Basic struct {
dst io.WriteCloser
@ -65,7 +65,7 @@ type Basic struct {
debug bool
}
// NewBasicFilter returns a pointer to a new Basic filter struct.
// NewBasic returns a pointer to a new Basic filter struct.
func NewBasic(dst io.WriteCloser, debug bool) *Basic {
bwImg := image.NewRGBA(image.Rect(0, 0, 0, 0))
var file io.WriteCloser