mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-21 12:49:40 +08:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user