mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-30 17:58:37 +08:00
b41522b4fd
VAAPI encoders deviate from other encoders (e.g. AMF, NVENC) with the "profile" setting being an integer instead of a string. With enhanced broadcasting, "profile" is signalled as a string. Convert the string-based profile to the appropriate integer-based profile for VAAPI encoders as a workaround, until VAAPI supports string-based "profile" (if ever).