UI: Fix audio recording for lossless simple (#1616)

The first audio track was not recorded following the API changes for
 custom ffmpeg recording (adding multi-track support).
 This fixes the issue (spotted by EposVox, thanks to him for the report).
This commit is contained in:
pkv 2019-01-31 05:58:22 +01:00 committed by Colin Edwards
parent cac03e3d76
commit 1f5dd38a40

View File

@ -242,6 +242,8 @@ void SimpleOutput::LoadRecordingPreset_Lossless()
obs_data_set_string(settings, "video_encoder", "utvideo");
obs_data_set_string(settings, "audio_encoder", "pcm_s16le");
int aMixes = 1;
obs_output_set_mixers(fileOutput, aMixes);
obs_output_update(fileOutput, settings);
obs_data_release(settings);
}