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&)