win-dshow: Reorder CapsMatch for gcc
parent
8ecbe91d9a
commit
f079bc9f7f
|
@ -578,6 +578,11 @@ static inline bool ResolutionValid(string res, int &cx, int &cy)
|
|||
return ConvertRes(cx, cy, res.c_str());
|
||||
}
|
||||
|
||||
static inline bool CapsMatch(const VideoInfo&)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
template <typename ... F>
|
||||
static bool CapsMatch(const VideoDevice &dev, F ... fs);
|
||||
|
||||
|
@ -587,11 +592,6 @@ static inline bool CapsMatch(const VideoInfo &info, F&& f, Fs ... fs)
|
|||
return f(info) && CapsMatch(info, fs ...);
|
||||
}
|
||||
|
||||
static inline bool CapsMatch(const VideoInfo&)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
template <typename ... F>
|
||||
static bool CapsMatch(const VideoDevice &dev, F ... fs)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue