SHA256
Move Codec From Normal Config to Encoding Config
This commit is contained in:
7 files changed
+51
-14
No files matched your search
@@ -388,7 +388,7 @@ namespace ADOFAIRenderer.Core
|
||||
|
||||
private IEnumerator SetupPlay()
|
||||
{
|
||||
if (Configuration.RenderAudio && GetOutputExtension(Configuration.Codec) != ".mp4")
|
||||
if (Configuration.RenderAudio && GetOutputExtension(Configuration.EncodingConfig!.Codec) != ".mp4")
|
||||
{
|
||||
Configuration.AudioSampleRate = 48000;
|
||||
}
|
||||
@@ -476,7 +476,7 @@ namespace ADOFAIRenderer.Core
|
||||
var renderFPS = Configuration.RenderFPS;
|
||||
var videoFPS = Configuration.VideoFPS;
|
||||
|
||||
var selectedCodec = Configuration.Codec;
|
||||
var selectedCodec = Configuration.EncodingConfig?.Codec ?? Codec.H264;
|
||||
var ext = GetOutputExtension(selectedCodec);
|
||||
|
||||
var startTime = DateTime.Now;
|
||||
|
||||
Reference in new issue
Block a user