diff --git a/UI/forms/OBSBasicSettings.ui b/UI/forms/OBSBasicSettings.ui index 26e9e7529..99d73d08d 100644 --- a/UI/forms/OBSBasicSettings.ui +++ b/UI/forms/OBSBasicSettings.ui @@ -1252,6 +1252,12 @@ + + Qt::RichText + + + true + @@ -1348,8 +1354,8 @@ 0 0 - 820 - 677 + 601 + 602 diff --git a/UI/window-basic-settings-stream.cpp b/UI/window-basic-settings-stream.cpp index 8f0dae9bc..8775a07d0 100644 --- a/UI/window-basic-settings-stream.cpp +++ b/UI/window-basic-settings-stream.cpp @@ -837,13 +837,13 @@ void OBSBasicSettings::UpdateServiceRecommendations() .arg(QString::number(vbitrate)); if (abitrate) { if (!text.isEmpty()) - text += "\n"; + text += "
"; text += ENFORCE_TEXT("MaxAudioBitrate") .arg(QString::number(abitrate)); } if (res_count) { if (!text.isEmpty()) - text += "\n"; + text += "
"; obs_service_resolution best_res = {}; int best_res_pixels = 0; @@ -864,12 +864,25 @@ void OBSBasicSettings::UpdateServiceRecommendations() } if (fps) { if (!text.isEmpty()) - text += "\n"; + text += "
"; text += ENFORCE_TEXT("MaxFPS").arg(QString::number(fps)); } #undef ENFORCE_TEXT +#if YOUTUBE_ENABLED + if (IsYouTubeService(QT_TO_UTF8(ui->service->currentText()))) { + if (!text.isEmpty()) + text += "

"; + + text += "" + "YouTube Terms of Service
" + "" + "Google Privacy Policy
" + "" + "Google Third-Party Permissions"; + } +#endif ui->enforceSettingsLabel->setText(text); }