mirror of https://bitbucket.org/ausocean/av.git
revid/raspivid.go: wrote Read implementatino for io.Reader interface
This commit is contained in:
parent
b554c2820a
commit
b2a9dbf17d
|
@ -209,3 +209,7 @@ func (r *Raspivid) Start() error {
|
|||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *Raspivid) Read(p []byte) (int, error) {
|
||||
return r.out.Read(p)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue