Răsfoiți Sursa

dshow: call to CapsMatch is missing an argument

Evidently Visual Studio did not complain about this.  GCC however is
much more strict about this.
martell 10 ani în urmă
părinte
comite
5fa4889c9c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      plugins/win-dshow/win-dshow.cpp

+ 1 - 1
plugins/win-dshow/win-dshow.cpp

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