mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
cancel check for autoencode HasWorkToDo() to avoid exception
This commit is contained in:
@@ -86,6 +86,7 @@ namespace Flowframes.Main
|
|||||||
|
|
||||||
public static bool HasWorkToDo ()
|
public static bool HasWorkToDo ()
|
||||||
{
|
{
|
||||||
|
if (Interpolate.canceled) return false;
|
||||||
return ((AiProcess.currentAiProcess != null && !AiProcess.currentAiProcess.HasExited) || encodedFrames.Count < GetInterpFramesAmount());
|
return ((AiProcess.currentAiProcess != null && !AiProcess.currentAiProcess.HasExited) || encodedFrames.Count < GetInterpFramesAmount());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user