libobs: Allow last encoder error for last output error

(This commit also modifies UI)

This makes it more trivial for encoder plugins to communicate to users
why specifically an encoder error might have occurred mid-stream.
This commit is contained in:
jp9000
2021-10-25 12:24:16 -07:00
parent 6534bf5834
commit a4146a685b
3 changed files with 34 additions and 7 deletions
+2
View File
@@ -377,6 +377,7 @@ Output.ConnectFail.Disconnected="Disconnected from server."
# output streaming-related messages
Output.StreamEncodeError.Title="Encoding error"
Output.StreamEncodeError.Msg="An encoder error occurred while streaming."
Output.StreamEncodeError.Msg.LastError="An encoder error occurred while streaming:\n\n%1"
# output recording-related messages
Output.RecordFail.Title="Failed to start recording"
@@ -386,6 +387,7 @@ Output.RecordNoSpace.Msg="There is not sufficient disk space to continue recordi
Output.RecordError.Title="Recording error"
Output.RecordError.Msg="An unspecified error occurred while recording."
Output.RecordError.EncodeErrorMsg="An encoder error occurred while recording."
Output.RecordError.EncodeErrorMsg.LastError="An encoder error occurred while recording:\n\n%1"
# output recording messages
Output.BadPath.Title="Bad File Path"