Revert service json lookup refactor in UI
Certain services have custom server lits handling which I had forgotten about, so although it would have been nice to have this refactor, we'll have to live with relying on the plugin properties object directly for a while. This also reverts obsproject/obs-studio#6530 and obsproject/obs-studio#6683 because that change depended on this problematic refactor code. This reverts commits:f2e6122881,bc80d0ca95,050a29da1a,22ffc04f73,275e510aad,2fa5ffe4df.
This commit is contained in:
parent
22ef40ba17
commit
0b9a8aa1fd
12 changed files with 411 additions and 399 deletions
|
|
@ -934,8 +934,6 @@ OBSBasicSettings::OBSBasicSettings(QWidget *parent)
|
|||
|
||||
connect(ui->useStreamKeyAdv, SIGNAL(clicked()), this,
|
||||
SLOT(UseStreamKeyAdvClicked()));
|
||||
|
||||
UpdateAdvNetworkGroup();
|
||||
}
|
||||
|
||||
OBSBasicSettings::~OBSBasicSettings()
|
||||
|
|
@ -5422,18 +5420,3 @@ void OBSBasicSettings::RecreateOutputResolutionWidget()
|
|||
ui->outputResolution->lineEdit()->setValidator(
|
||||
ui->baseResolution->lineEdit()->validator());
|
||||
}
|
||||
|
||||
void OBSBasicSettings::UpdateAdvNetworkGroup()
|
||||
{
|
||||
bool enabled = streamUi.IsServiceOutputHasNetworkFeatures();
|
||||
|
||||
ui->advNetworkDisabled->setVisible(!enabled);
|
||||
|
||||
ui->bindToIPLabel->setVisible(enabled);
|
||||
ui->bindToIP->setVisible(enabled);
|
||||
ui->dynBitrate->setVisible(enabled);
|
||||
#ifdef _WIN32
|
||||
ui->enableNewSocketLoop->setVisible(enabled);
|
||||
ui->enableLowLatencyMode->setVisible(enabled);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue