From 5fa4889c9caa94f1811484164f5867a95f80d8f8 Mon Sep 17 00:00:00 2001 From: martell Date: Wed, 4 Feb 2015 15:50:42 +0000 Subject: [PATCH] dshow: call to CapsMatch is missing an argument Evidently Visual Studio did not complain about this. GCC however is much more strict about this. --- plugins/win-dshow/win-dshow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/win-dshow/win-dshow.cpp b/plugins/win-dshow/win-dshow.cpp index 44cb2c5a9..1ec2b96cc 100644 --- a/plugins/win-dshow/win-dshow.cpp +++ b/plugins/win-dshow/win-dshow.cpp @@ -572,7 +572,7 @@ static inline bool ResolutionValid(string res, int &cx, int &cy) template static inline bool CapsMatch(const VideoInfo &info, F&& f, Fs ... fs) { - return f(info) && CapsMatch(info, fs ...); + return f(info) && CapsMatch(info, f, fs ...); } static inline bool CapsMatch(const VideoInfo&)