mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-13 09:54:16 -04:00
frontend: Allow Stream Delay with multitrack video
Remove Stream Delay from the incompatible settings list for multitrack video as it works properly now.
This commit is contained in:
committed by
Ryan Foster
parent
0fc69fb913
commit
6bb9019aff
@@ -545,8 +545,7 @@ void MultitrackVideoOutput::StopStreaming()
|
||||
}
|
||||
|
||||
bool MultitrackVideoOutput::HandleIncompatibleSettings(QWidget *parent, config_t *config, obs_service_t *service,
|
||||
bool &useDelay, bool &enableNewSocketLoop,
|
||||
bool &enableDynBitrate)
|
||||
bool &enableNewSocketLoop, bool &enableDynBitrate)
|
||||
{
|
||||
QString incompatible_settings;
|
||||
QString where_to_disable;
|
||||
@@ -571,7 +570,6 @@ bool MultitrackVideoOutput::HandleIncompatibleSettings(QWidget *parent, config_t
|
||||
num += 1;
|
||||
};
|
||||
|
||||
check_setting(useDelay, "Basic.Settings.Advanced.StreamDelay", "Basic.Settings.Advanced.StreamDelay");
|
||||
#ifdef _WIN32
|
||||
check_setting(enableNewSocketLoop, "Basic.Settings.Advanced.Network.EnableNewSocketLoop",
|
||||
"Basic.Settings.Advanced.Network");
|
||||
@@ -611,12 +609,10 @@ bool MultitrackVideoOutput::HandleIncompatibleSettings(QWidget *parent, config_t
|
||||
incompatible_settings_list.toUtf8().constData(), action);
|
||||
|
||||
if (mb.clickedButton() == this_stream || mb.clickedButton() == all_streams) {
|
||||
useDelay = false;
|
||||
enableNewSocketLoop = false;
|
||||
enableDynBitrate = false;
|
||||
|
||||
if (mb.clickedButton() == all_streams) {
|
||||
config_set_bool(config, "Output", "DelayEnable", false);
|
||||
#ifdef _WIN32
|
||||
config_set_bool(config, "Output", "NewSocketLoopEnable", false);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user