SHA256
Adjust Thread Priority
This commit is contained in:
1 parent
351e267180
commit
459b2f3b0e
1 file changed
+6
-1
@@ -10,6 +10,7 @@ using ADOFAIRenderer.Util.FFmpeg;
|
|||||||
using MelonLoader;
|
using MelonLoader;
|
||||||
using MelonLoader.Utils;
|
using MelonLoader.Utils;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using ThreadPriority = System.Threading.ThreadPriority;
|
||||||
|
|
||||||
namespace ADOFAIRenderer.Core
|
namespace ADOFAIRenderer.Core
|
||||||
{
|
{
|
||||||
@@ -470,7 +471,11 @@ namespace ADOFAIRenderer.Core
|
|||||||
{
|
{
|
||||||
Melon<RenderMod>.Logger.Error($"FFmpeg 렌더링 스레드 오류: {ex}");
|
Melon<RenderMod>.Logger.Error($"FFmpeg 렌더링 스레드 오류: {ex}");
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
|
{
|
||||||
|
IsBackground = true,
|
||||||
|
Priority = ThreadPriority.AboveNormal
|
||||||
|
};
|
||||||
|
|
||||||
RenderThread.Start();
|
RenderThread.Start();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user