dshow: call to CapsMatch is missing an argument
Evidently Visual Studio did not complain about this. GCC however is much more strict about this.master
parent
4f5807e0b0
commit
5fa4889c9c
|
@ -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&)
|
||||
|
|
Loading…
Reference in New Issue