Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
尘离序散
obs-studio
提交
52784c3e
O
obs-studio
项目概览
尘离序散
/
obs-studio
与 Fork 源项目一致
从无法访问的项目Fork
通知
30
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
obs-studio
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
52784c3e
编写于
2月 06, 2017
作者:
J
jp9000
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
UI: Add 24 NTSC as a common FPS value
上级
e1e21c01
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
15 addition
and
7 deletion
+15
-7
UI/forms/OBSBasicSettings.ui
UI/forms/OBSBasicSettings.ui
+11
-6
UI/window-basic-main.cpp
UI/window-basic-main.cpp
+3
-0
UI/window-basic-settings.cpp
UI/window-basic-settings.cpp
+1
-1
未找到文件。
UI/forms/OBSBasicSettings.ui
浏览文件 @
52784c3e
...
...
@@ -2936,8 +2936,8 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
98
</width>
<height>
28
</height>
<width>
800
</width>
<height>
69
</height>
</rect>
</property>
</widget>
...
...
@@ -3091,10 +3091,10 @@
<item
alignment=
"Qt::AlignTop"
>
<widget
class=
"QComboBox"
name=
"fpsCommon"
>
<property
name=
"currentText"
>
<string
notr=
"true"
>
3
0
</string>
<string
notr=
"true"
>
1
0
</string>
</property>
<property
name=
"currentIndex"
>
<number>
3
</number>
<number>
0
</number>
</property>
<item>
<property
name=
"text"
>
...
...
@@ -3106,6 +3106,11 @@
<string
notr=
"true"
>
20
</string>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
24 NTSC
</string>
</property>
</item>
<item>
<property
name=
"text"
>
<string
notr=
"true"
>
29.97
</string>
...
...
@@ -3255,8 +3260,8 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
9
8
</width>
<height>
28
</height>
<width>
81
8
</width>
<height>
697
</height>
</rect>
</property>
<layout
class=
"QFormLayout"
name=
"hotkeyLayout"
>
...
...
UI/window-basic-main.cpp
浏览文件 @
52784c3e
...
...
@@ -4487,6 +4487,9 @@ void OBSBasic::GetFPSCommon(uint32_t &num, uint32_t &den) const
}
else
if
(
strcmp
(
val
,
"20"
)
==
0
)
{
num
=
20
;
den
=
1
;
}
else
if
(
strcmp
(
val
,
"24 NTSC"
)
==
0
)
{
num
=
24000
;
den
=
1001
;
}
else
if
(
strcmp
(
val
,
"25"
)
==
0
)
{
num
=
25
;
den
=
1
;
...
...
UI/window-basic-settings.cpp
浏览文件 @
52784c3e
...
...
@@ -1192,7 +1192,7 @@ static inline void LoadFPSCommon(OBSBasic *main, Ui::OBSBasicSettings *ui)
"FPSCommon"
);
int
idx
=
ui
->
fpsCommon
->
findText
(
val
);
if
(
idx
==
-
1
)
idx
=
3
;
if
(
idx
==
-
1
)
idx
=
4
;
ui
->
fpsCommon
->
setCurrentIndex
(
idx
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录