From b2a9dbf17d2dd17ca99c60c603728616449b6425 Mon Sep 17 00:00:00 2001 From: Saxon Date: Sat, 2 Nov 2019 10:36:55 +1030 Subject: [PATCH] revid/raspivid.go: wrote Read implementatino for io.Reader interface --- revid/raspivid.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/revid/raspivid.go b/revid/raspivid.go index 27b2c223..f5ff0e75 100644 --- a/revid/raspivid.go +++ b/revid/raspivid.go @@ -209,3 +209,7 @@ func (r *Raspivid) Start() error { return nil } + +func (r *Raspivid) Read(p []byte) (int, error) { + return r.out.Read(p) +}