mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-23 14:28:51 -04:00
UI: Add VOD track support in advanced output
Adds a VOD track option (specific to Twitch) that allows a user to specify which audio track to use for their Twitch VODs, which uses a separate encoder to encode the track. This allows users the ability to choose what audio goes on their VOD, separately from the live stream.
This commit is contained in:
1 parent
5b8f89d86e
commit
6b81c106d8
7 files changed
+127
-6
No files matched your search
@@ -3386,6 +3386,13 @@ void OBSBasicSettings::SaveOutputSettings()
|
||||
SaveEdit(ui->advOutTrack5Name, "AdvOut", "Track5Name");
|
||||
SaveEdit(ui->advOutTrack6Name, "AdvOut", "Track6Name");
|
||||
|
||||
if (vodTrackCheckbox) {
|
||||
SaveCheckBox(vodTrackCheckbox, "AdvOut", "VodTrackEnabled");
|
||||
SaveTrackIndex(main->Config(), "AdvOut", "VodTrackIndex",
|
||||
vodTrack[0], vodTrack[1], vodTrack[2],
|
||||
vodTrack[3], vodTrack[4], vodTrack[5]);
|
||||
}
|
||||
|
||||
SaveCheckBox(ui->advReplayBuf, "AdvOut", "RecRB");
|
||||
SaveSpinBox(ui->advRBSecMax, "AdvOut", "RecRBTime");
|
||||
SaveSpinBox(ui->advRBMegsMax, "AdvOut", "RecRBSize");
|
||||
|
||||
Reference in new issue
Block a user