|
|
@@ -699,14 +699,12 @@ void OBSBasic::ActivateProfile(const OBSProfile &profile, bool reset)
|
|
|
config_save_safe(App()->GetUserConfig(), "tmp", nullptr);
|
|
|
|
|
|
InitBasicConfigDefaults();
|
|
|
- InitBasicConfigDefaults2();
|
|
|
|
|
|
if (reset) {
|
|
|
+ UpdateProfileEncoders();
|
|
|
ResetProfileData();
|
|
|
}
|
|
|
|
|
|
- CheckForSimpleModeX264Fallback();
|
|
|
-
|
|
|
RefreshProfiles();
|
|
|
|
|
|
UpdateTitleBar();
|
|
|
@@ -731,6 +729,12 @@ void OBSBasic::ActivateProfile(const OBSProfile &profile, bool reset)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+void OBSBasic::UpdateProfileEncoders()
|
|
|
+{
|
|
|
+ InitBasicConfigDefaults2();
|
|
|
+ CheckForSimpleModeX264Fallback();
|
|
|
+}
|
|
|
+
|
|
|
void OBSBasic::ResetProfileData()
|
|
|
{
|
|
|
ResetVideo();
|