UI: Remove redundant setting
This setting, although technically different from the one in the streaming section of settings, is superseded by that setting. The setting can still be used via ini file if an actual custom rate control or keyframe interval is needed.master
parent
207716f69f
commit
15d000c50c
|
@ -779,7 +779,6 @@ Basic.Settings.Output.NoSpaceFileName="Generate File Name without Space"
|
|||
Basic.Settings.Output.Adv.Rescale="Rescale Output"
|
||||
Basic.Settings.Output.Adv.AudioTrack="Audio Track"
|
||||
Basic.Settings.Output.Adv.Streaming="Streaming"
|
||||
Basic.Settings.Output.Adv.ApplyServiceSettings="Enforce streaming service encoder settings"
|
||||
Basic.Settings.Output.Adv.Audio.Track1="Track 1"
|
||||
Basic.Settings.Output.Adv.Audio.Track2="Track 2"
|
||||
Basic.Settings.Output.Adv.Audio.Track3="Track 3"
|
||||
|
|
|
@ -1937,55 +1937,6 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="advOutEncLabel">
|
||||
<property name="text">
|
||||
<string>Basic.Settings.Output.Encoder</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>advOutEncoder</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QComboBox" name="advOutEncoder"/>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QCheckBox" name="advOutApplyService">
|
||||
<property name="text">
|
||||
<string>Basic.Settings.Output.Adv.ApplyServiceSettings</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QCheckBox" name="advOutUseRescale">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Basic.Settings.Output.Adv.Rescale</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QComboBox" name="advOutRescale">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="editable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QWidget" name="widget_8" native="true">
|
||||
<property name="sizePolicy">
|
||||
|
@ -2055,6 +2006,45 @@
|
|||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="advOutEncLabel">
|
||||
<property name="text">
|
||||
<string>Basic.Settings.Output.Encoder</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>advOutEncoder</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QComboBox" name="advOutEncoder"/>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QCheckBox" name="advOutUseRescale">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Basic.Settings.Output.Adv.Rescale</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QComboBox" name="advOutRescale">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="editable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -4639,7 +4629,7 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>803</width>
|
||||
<width>602</width>
|
||||
<height>781</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -5534,7 +5524,6 @@
|
|||
<tabstop>advOutTrack5</tabstop>
|
||||
<tabstop>advOutTrack6</tabstop>
|
||||
<tabstop>advOutEncoder</tabstop>
|
||||
<tabstop>advOutApplyService</tabstop>
|
||||
<tabstop>advOutUseRescale</tabstop>
|
||||
<tabstop>advOutRescale</tabstop>
|
||||
<tabstop>advOutRecType</tabstop>
|
||||
|
|
|
@ -451,7 +451,6 @@ OBSBasicSettings::OBSBasicSettings(QWidget *parent)
|
|||
HookWidget(ui->advOutTrack4, CHECK_CHANGED, OUTPUTS_CHANGED);
|
||||
HookWidget(ui->advOutTrack5, CHECK_CHANGED, OUTPUTS_CHANGED);
|
||||
HookWidget(ui->advOutTrack6, CHECK_CHANGED, OUTPUTS_CHANGED);
|
||||
HookWidget(ui->advOutApplyService, CHECK_CHANGED, OUTPUTS_CHANGED);
|
||||
HookWidget(ui->advOutRecType, COMBO_CHANGED, OUTPUTS_CHANGED);
|
||||
HookWidget(ui->advOutRecPath, EDIT_CHANGED, OUTPUTS_CHANGED);
|
||||
HookWidget(ui->advOutNoSpace, CHECK_CHANGED, OUTPUTS_CHANGED);
|
||||
|
@ -1762,10 +1761,7 @@ void OBSBasicSettings::LoadAdvOutputStreamingSettings()
|
|||
const char *rescaleRes =
|
||||
config_get_string(main->Config(), "AdvOut", "RescaleRes");
|
||||
int trackIndex = config_get_int(main->Config(), "AdvOut", "TrackIndex");
|
||||
bool applyServiceSettings = config_get_bool(main->Config(), "AdvOut",
|
||||
"ApplyServiceSettings");
|
||||
|
||||
ui->advOutApplyService->setChecked(applyServiceSettings);
|
||||
ui->advOutUseRescale->setChecked(rescale);
|
||||
ui->advOutRescale->setEnabled(rescale);
|
||||
ui->advOutRescale->setCurrentText(rescaleRes);
|
||||
|
@ -3382,7 +3378,6 @@ void OBSBasicSettings::SaveOutputSettings()
|
|||
|
||||
curAdvStreamEncoder = GetComboData(ui->advOutEncoder);
|
||||
|
||||
SaveCheckBox(ui->advOutApplyService, "AdvOut", "ApplyServiceSettings");
|
||||
SaveComboData(ui->advOutEncoder, "AdvOut", "Encoder");
|
||||
SaveCheckBox(ui->advOutUseRescale, "AdvOut", "Rescale");
|
||||
SaveCombo(ui->advOutRescale, "AdvOut", "RescaleRes");
|
||||
|
|
Loading…
Reference in New Issue