Skip to content

Commit bf1beea

Browse files
committed
enable "Rescale Output" on windows/mac
* I think this logic was inverted? Updating to allow all encoders thru EXCEPT the deprecated one
1 parent 397eca9 commit bf1beea

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

obs-studio-server/source/nodeobs_settings.cpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,12 +1892,7 @@ SubCategory OBS_settings::getAdvancedOutputStreamingSettings(config_t *config, b
18921892
rescale.currentValue.resize(sizeof(doRescale));
18931893
memcpy(rescale.currentValue.data(), &doRescale, sizeof(doRescale));
18941894
rescale.sizeOfCurrentValue = sizeof(doRescale);
1895-
1896-
#if defined(WIN32)
1897-
rescale.visible = (encoderCurrentValue == ENCODER_NVENC_H264_TEX);
1898-
#else
1899-
rescale.visible = true;
1900-
#endif
1895+
rescale.visible = (encoderCurrentValue != ENCODER_NVENC_H264_TEX);
19011896
rescale.enabled = isCategoryEnabled;
19021897
rescale.masked = false;
19031898

@@ -1946,8 +1941,7 @@ SubCategory OBS_settings::getAdvancedOutputStreamingSettings(config_t *config, b
19461941

19471942
rescaleRes.sizeOfValues = rescaleRes.values.size();
19481943
rescaleRes.countValues = outputResolutions.size();
1949-
1950-
rescaleRes.visible = (encoderCurrentValue == ENCODER_NVENC_H264_TEX);
1944+
rescaleRes.visible = (encoderCurrentValue != ENCODER_NVENC_H264_TEX);
19511945
rescaleRes.enabled = isCategoryEnabled;
19521946
rescaleRes.masked = false;
19531947

0 commit comments

Comments
 (0)