mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-06 07:36:12 -05:00
UI: Allow enabling vod track on custom via ini
This commit is contained in:
@@ -619,9 +619,14 @@ void OBSBasicSettings::on_useAuth_toggled()
|
||||
|
||||
void OBSBasicSettings::UpdateVodTrackSetting()
|
||||
{
|
||||
bool enableForCustomServer = config_get_bool(
|
||||
GetGlobalConfig(), "General", "EnableCustomServerVodTrack");
|
||||
bool enableVodTrack = ui->service->currentText() == "Twitch";
|
||||
bool wasEnabled = !!vodTrackCheckbox;
|
||||
|
||||
if (enableForCustomServer && IsCustomService())
|
||||
enableVodTrack = true;
|
||||
|
||||
if (enableVodTrack == wasEnabled)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user