From fd3c4010e4ba7c5a9c4724fc1fef81790040736f Mon Sep 17 00:00:00 2001 From: saxon Date: Thu, 3 Jan 2019 10:35:22 +1030 Subject: [PATCH] revid: add old webcam starting code and renamed func to LinuxWebcam considering this will only work on linux --- revid/revid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revid/revid.go b/revid/revid.go index 4a94b940..c216d74f 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -498,7 +498,7 @@ func (r *Revid) startRaspivid() error { return err } -func (r *Revid) startWebcam() error { +func (r *Revid) LinuxWebcam() error { r.config.Logger.Log(smartlogger.Info, pkg+"starting webcam") r.cmd = exec.Command("ffmpeg", []string{ "-i", "/dev/video0",