Переглянути джерело

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 роки тому
батько
коміт
5fa4889c9c
1 змінених файлів з 1 додано та 1 видалено
  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&)