mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-26 07:08:34 -05:00
This prevents VideoFormat::Any from unintentionally selecting H264 when MJPEG is the only other format available. This fixes a bug where certain devices (Logitech C920 with latest drivers) will only have H264 and MJPEG available, and using VideoFormat::Any will then select H264 over MJPEG because it's the first format value and has the same priority as MJPEG. So now, MJPEG will be prioritized over H264 instead.