mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-25 22:58:29 -05:00
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.