Просмотр исходного кода

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 лет назад
Родитель
Сommit
49a5a3ebec
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      obs/window-basic-main-outputs.cpp

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

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