diff --git a/UI/data/locale/en-US.ini b/UI/data/locale/en-US.ini index 6ef89a283..9b8b40ea2 100644 --- a/UI/data/locale/en-US.ini +++ b/UI/data/locale/en-US.ini @@ -402,6 +402,7 @@ Output.ConnectFail.Title="Failed to connect" Output.ConnectFail.BadPath="Invalid Path or Connection URL. Please check your settings to confirm that they are valid." Output.ConnectFail.ConnectFailed="Failed to connect to server" Output.ConnectFail.InvalidStream="Could not access the specified channel or stream key, please double-check your stream key. If it is correct, there may be a problem connecting to the server." +Output.ConnectFail.HdrDisabled="HDR output is currently disabled for this output." Output.ConnectFail.Error="An unexpected error occurred when trying to connect to the server. More information in the log file." Output.ConnectFail.Disconnected="Disconnected from server." diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index d7ae3e94f..d178d7516 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -7282,6 +7282,10 @@ void OBSBasic::StreamingStop(int code, QString last_error) encode_error = true; break; + case OBS_OUTPUT_HDR_DISABLED: + errorDescription = Str("Output.ConnectFail.HdrDisabled"); + break; + default: case OBS_OUTPUT_ERROR: use_last_error = true; diff --git a/libobs/obs-defs.h b/libobs/obs-defs.h index b3e224d42..141b03fa1 100644 --- a/libobs/obs-defs.h +++ b/libobs/obs-defs.h @@ -42,6 +42,7 @@ #define OBS_OUTPUT_UNSUPPORTED -6 #define OBS_OUTPUT_NO_SPACE -7 #define OBS_OUTPUT_ENCODE_ERROR -8 +#define OBS_OUTPUT_HDR_DISABLED -9 #define OBS_VIDEO_SUCCESS 0 #define OBS_VIDEO_FAIL -1