SHA256
Remove Redundant Directory Init
This commit is contained in:
1 file changed
+1
-3
@@ -505,7 +505,7 @@ namespace ADOFAIRenderer.Core
|
|||||||
if (RenderContext.OutputPath != null) _currentOutPath = RenderContext.OutputPath;
|
if (RenderContext.OutputPath != null) _currentOutPath = RenderContext.OutputPath;
|
||||||
else {
|
else {
|
||||||
var fileName = startTime.ToString("yyyy-MM-dd HH-mm-ss") +
|
var fileName = startTime.ToString("yyyy-MM-dd HH-mm-ss") +
|
||||||
$".{Configuration.AdvancedConfig.FileExtension}";
|
$".{Configuration.AdvancedConfig.FileExtension.TrimStart('.').ToLower()}";
|
||||||
_currentOutPath = Path.Combine(MelonEnvironment.GameRootDirectory, "Render", fileName);
|
_currentOutPath = Path.Combine(MelonEnvironment.GameRootDirectory, "Render", fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -538,8 +538,6 @@ namespace ADOFAIRenderer.Core
|
|||||||
|
|
||||||
videoFFmpeg = new FFmpegNativeEncoder(settings);
|
videoFFmpeg = new FFmpegNativeEncoder(settings);
|
||||||
|
|
||||||
SetupCaptureDirectory();
|
|
||||||
|
|
||||||
_activeVideoFFmpeg = videoFFmpeg;
|
_activeVideoFFmpeg = videoFFmpeg;
|
||||||
lock (_allVideoFFmpegInstances)
|
lock (_allVideoFFmpegInstances)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user