mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-17 02:38:33 -05:00
When the user had advanced output mode selected and they created a new profile, enforced service settings for advanced output mode would not be applied because GetDataFromJsonFile would return a nullptr (because the settings file did not yet exist). Instead of returning nullptr, always return a valid data object, and in addition, apply the defaults of the encoder to pass to obs_service_apply_encoder_settings just to be safe.
50 KiB
50 KiB