From 560b69ecb35916c5d8f727655822f9daa8154437 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Tue, 9 Feb 2016 19:24:44 -0800 Subject: [PATCH] UI: Use uncompressed audio for lossless Originally there was an issue using FLAC for audio in AVI files, AVI files wouldn't play back with some players. Because FLAC doesn't work, and lossless should be lossless, instead just used uncompressed WAV data for the lossless audio, which is always supported. --- obs/window-basic-main-outputs.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/obs/window-basic-main-outputs.cpp b/obs/window-basic-main-outputs.cpp index 3f81230b3..7149df493 100644 --- a/obs/window-basic-main-outputs.cpp +++ b/obs/window-basic-main-outputs.cpp @@ -155,8 +155,7 @@ void SimpleOutput::LoadRecordingPreset_Lossless() obs_data_t *settings = obs_data_create(); obs_data_set_string(settings, "format_name", "avi"); obs_data_set_string(settings, "video_encoder", "utvideo"); - obs_data_set_int(settings, "audio_bitrate", 512); - obs_data_set_string(settings, "audio_encoder", "ac3"); + obs_data_set_string(settings, "audio_encoder", "pcm_s16le"); obs_output_update(fileOutput, settings); obs_data_release(settings);