From 08c756d4846b031ac4e40aeb9bb0ca37cfb5c46a Mon Sep 17 00:00:00 2001 From: noriah Date: Mon, 3 Apr 2023 14:27:53 -0700 Subject: [PATCH] correct NewWindowsSession return statement. fixes #17 --- input/ffmpeg/dshow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/ffmpeg/dshow.go b/input/ffmpeg/dshow.go index a1d3194..0b65ec9 100644 --- a/input/ffmpeg/dshow.go +++ b/input/ffmpeg/dshow.go @@ -28,7 +28,7 @@ func NewWindowsSession(b FFmpegBackend, cfg input.SessionConfig) (*execread.Sess args = append(args, b.InputArgs()...) args = append(args, "-f", "f64le", "-") - return execread.NewSession(args, false, cfg) + return execread.NewSession(args, false, cfg), nil } // DShow is the DirectShow input for FFmpeg on Windows.