mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-05 07:06:13 -05:00
Revert "UI: Use flac for lossless audio"
This reverts commit 6e20310945.
FLAC doesn't work properly in AVI files, and MKV files don't work in
vegas. So, sadly the only solution is to use lossless audio at a super
high bitrate for the time being.
This commit is contained in:
@@ -153,9 +153,10 @@ void SimpleOutput::LoadRecordingPreset_Lossless()
|
||||
obs_output_release(fileOutput);
|
||||
|
||||
obs_data_t *settings = obs_data_create();
|
||||
obs_data_set_string(settings, "format_name", "mkv");
|
||||
obs_data_set_string(settings, "format_name", "avi");
|
||||
obs_data_set_string(settings, "video_encoder", "utvideo");
|
||||
obs_data_set_string(settings, "audio_encoder", "flac");
|
||||
obs_data_set_int(settings, "audio_bitrate", 512);
|
||||
obs_data_set_string(settings, "audio_encoder", "ac3");
|
||||
|
||||
obs_output_update(fileOutput, settings);
|
||||
obs_data_release(settings);
|
||||
@@ -450,7 +451,7 @@ bool SimpleOutput::StartRecording()
|
||||
if (lastChar != '/' && lastChar != '\\')
|
||||
strPath += "/";
|
||||
|
||||
strPath += GenerateTimeDateFilename(ffmpegOutput ? "mkv" : format,
|
||||
strPath += GenerateTimeDateFilename(ffmpegOutput ? "avi" : format,
|
||||
noSpace);
|
||||
|
||||
SetupOutputs();
|
||||
|
||||
Reference in New Issue
Block a user