mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
GetFrameCountCached: If failed, clear cache before retrying
This commit is contained in:
@@ -45,6 +45,7 @@ namespace Flowframes.Media
|
|||||||
if (retryCount > 0)
|
if (retryCount > 0)
|
||||||
{
|
{
|
||||||
Logger.Log($"Got {frameCount} frames, retrying ({retryCount} left)", true);
|
Logger.Log($"Got {frameCount} frames, retrying ({retryCount} left)", true);
|
||||||
|
Clear();
|
||||||
frameCount = await GetFrameCountAsync(path, retryCount - 1);
|
frameCount = await GetFrameCountAsync(path, retryCount - 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user