mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
dshow: call to CapsMatch is missing an argument
Evidently Visual Studio did not complain about this. GCC however is much more strict about this.
This commit is contained in:
@@ -572,7 +572,7 @@ static inline bool ResolutionValid(string res, int &cx, int &cy)
|
||||
template <typename F, typename ... Fs>
|
||||
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&)
|
||||
|
||||
Reference in New Issue
Block a user