MatcherClosestFrameRateSelector updates best_match as a side effect of visiting every VideoInfo instance, but CapsMatch uses std::any_of, which will stop iterating prematurely on first match. This means that the highest FPS is not selected. This change switches to a for loop that doesn't exit early. |
||
|---|---|---|
| .. | ||
| data/locale | ||
| libdshowcapture@cba07c6381 | ||
| CMakeLists.txt | ||
| dshow-plugin.cpp | ||
| encode-dstr.hpp | ||
| ffmpeg-decode.c | ||
| ffmpeg-decode.h | ||
| win-dshow-encoder.cpp | ||
| win-dshow.cpp | ||