Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Obs Studio
提交
efc23bb1
O
Obs Studio
项目概览
小白菜888
/
Obs Studio
通知
4
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Obs Studio
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
efc23bb1
编写于
4月 26, 2020
作者:
R
Richard Stanway
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
UI: Remove requirement for replay buffer hotkey
Fixes
https://github.com/obsproject/obs-studio/issues/2807
上级
dac1f7dd
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
0 addition
and
35 deletion
+0
-35
UI/data/locale/en-US.ini
UI/data/locale/en-US.ini
+0
-3
UI/forms/OBSBasicSettings.ui
UI/forms/OBSBasicSettings.ui
+0
-14
UI/window-basic-main.cpp
UI/window-basic-main.cpp
+0
-18
未找到文件。
UI/data/locale/en-US.ini
浏览文件 @
efc23bb1
...
...
@@ -324,8 +324,6 @@ 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.ReplayBuffer.NoHotkey.Title
=
"No hotkey set!"
Output.ReplayBuffer.NoHotkey.Msg
=
"No save hotkey set for replay buffer. Please set the
\"
Save
\"
hotkey to use for saving replay recordings."
# output recording messages
Output.BadPath.Title
=
"Bad File Path"
...
...
@@ -715,7 +713,6 @@ Basic.Settings.Output.ReplayBuffer.SecondsMax="Maximum Replay Time"
Basic.Settings.Output.ReplayBuffer.MegabytesMax
=
"Maximum Memory (Megabytes)"
Basic.Settings.Output.ReplayBuffer.Estimate
=
"Estimated memory usage: %1 MB"
Basic.Settings.Output.ReplayBuffer.EstimateUnknown
=
"Cannot estimate memory usage. Please set maximum memory limit."
Basic.Settings.Output.ReplayBuffer.HotkeyMessage
=
"(Note: Make sure to set a hotkey for the replay buffer in the hotkeys section)"
Basic.Settings.Output.ReplayBuffer.Prefix
=
"Replay Buffer Filename Prefix"
Basic.Settings.Output.ReplayBuffer.Suffix
=
"Suffix"
Basic.Settings.Output.Simple.SavePath
=
"Recording Path"
...
...
UI/forms/OBSBasicSettings.ui
浏览文件 @
efc23bb1
...
...
@@ -1766,13 +1766,6 @@
</widget>
</item>
<item
row=
"2"
column=
"1"
>
<widget
class=
"QLabel"
name=
"label_45"
>
<property
name=
"text"
>
<string>
Basic.Settings.Output.ReplayBuffer.HotkeyMessage
</string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"1"
>
<widget
class=
"QLabel"
name=
"simpleRBEstimate"
>
<property
name=
"text"
>
<string
notr=
"true"
/>
...
...
@@ -3676,13 +3669,6 @@
</widget>
</item>
<item
row=
"2"
column=
"1"
>
<widget
class=
"QLabel"
name=
"advRBHotkeyLabel"
>
<property
name=
"text"
>
<string>
Basic.Settings.Output.ReplayBuffer.HotkeyMessage
</string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"1"
>
<widget
class=
"QLabel"
name=
"advRBEstimate"
>
<property
name=
"text"
>
<string
notr=
"true"
/>
...
...
UI/window-basic-main.cpp
浏览文件 @
efc23bb1
...
...
@@ -5727,9 +5727,6 @@ void OBSBasic::RecordingStop(int code, QString last_error)
UpdatePause
(
false
);
}
#define RP_NO_HOTKEY_TITLE QTStr("Output.ReplayBuffer.NoHotkey.Title")
#define RP_NO_HOTKEY_TEXT QTStr("Output.ReplayBuffer.NoHotkey.Msg")
void
OBSBasic
::
ShowReplayBufferPauseWarning
()
{
auto
msgBox
=
[]()
{
...
...
@@ -5781,21 +5778,6 @@ void OBSBasic::StartReplayBuffer()
return
;
}
obs_output_t
*
output
=
outputHandler
->
replayBuffer
;
obs_data_t
*
hotkeys
=
obs_hotkeys_save_output
(
output
);
obs_data_array_t
*
bindings
=
obs_data_get_array
(
hotkeys
,
"ReplayBuffer.Save"
);
size_t
count
=
obs_data_array_count
(
bindings
);
obs_data_array_release
(
bindings
);
obs_data_release
(
hotkeys
);
if
(
!
count
)
{
OBSMessageBox
::
information
(
this
,
RP_NO_HOTKEY_TITLE
,
RP_NO_HOTKEY_TEXT
);
replayBufferButton
->
setChecked
(
false
);
return
;
}
if
(
api
)
api
->
on_event
(
OBS_FRONTEND_EVENT_REPLAY_BUFFER_STARTING
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录