revid/raspivid.go: wrote Read implementatino for io.Reader interface

This commit is contained in:
Saxon 2019-11-02 10:36:55 +10:30
parent b554c2820a
commit b2a9dbf17d
1 changed files with 4 additions and 0 deletions

View File

@ -209,3 +209,7 @@ func (r *Raspivid) Start() error {
return nil
}
func (r *Raspivid) Read(p []byte) (int, error) {
return r.out.Read(p)
}