SHA256
Add RMS Compressor
This commit is contained in:
7 files changed
+262
-36
No files matched your search
+5
-12
@@ -620,16 +620,9 @@ namespace ADOFAIRenderer.Core
|
||||
FrameAvailableEvent.WaitOne(50);
|
||||
}
|
||||
|
||||
if (IsRenderCancelled)
|
||||
{
|
||||
videoFFmpeg.Dispose();
|
||||
}
|
||||
else
|
||||
{
|
||||
videoFFmpeg.End();
|
||||
videoFFmpeg.Dispose();
|
||||
}
|
||||
|
||||
if (!IsRenderCancelled) videoFFmpeg.End();
|
||||
videoFFmpeg.Dispose();
|
||||
|
||||
lock (_allVideoFFmpegInstances)
|
||||
{
|
||||
_allVideoFFmpegInstances.Remove(videoFFmpeg);
|
||||
@@ -815,8 +808,8 @@ namespace ADOFAIRenderer.Core
|
||||
{
|
||||
return codec switch
|
||||
{
|
||||
Codec.AV1 or Codec.VP9 => ".webm",
|
||||
Codec.VVC => ".mkv",
|
||||
Codec.VP9 => ".webm",
|
||||
Codec.AV1 or Codec.VVC => ".mkv",
|
||||
_ => ".mp4"
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user