b3c2e74d0f
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.