1
0
Эх сурвалжийг харах

UI: Removed redundant update of settings data

SetupOutputs is already called at the beginning of the function under
circumstances where it's needed, so remove it from being redundantly
called a second time.
jp9000 9 жил өмнө
parent
commit
49a5a3ebec

+ 0 - 2
obs/window-basic-main-outputs.cpp

@@ -625,8 +625,6 @@ bool SimpleOutput::StartRecording()
 	if (!overwriteIfExists)
 	if (!overwriteIfExists)
 		FindBestFilename(strPath, noSpace);
 		FindBestFilename(strPath, noSpace);
 
 
-	SetupOutputs();
-
 	if (!ffmpegOutput) {
 	if (!ffmpegOutput) {
 		obs_output_set_video_encoder(fileOutput, h264Recording);
 		obs_output_set_video_encoder(fileOutput, h264Recording);
 		obs_output_set_audio_encoder(fileOutput, aacRecording, 0);
 		obs_output_set_audio_encoder(fileOutput, aacRecording, 0);