mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-25 04:39:25 +01:00
Fixed JPEG frames being used while alpha was true
This commit is contained in:
@@ -206,6 +206,8 @@ namespace Flowframes
|
||||
|
||||
bool forceHqChroma = pngOutput || aviHqChroma || proresHqChroma;
|
||||
|
||||
Logger.Log($"RefreshExtensions({type}) - alpha = {alpha} pngOutput = {pngOutput} aviHqChroma = {aviHqChroma} proresHqChroma = {proresHqChroma}", true);
|
||||
|
||||
if (alpha || forceHqChroma) // Force PNG if alpha is enabled, or output is not 4:2:0 subsampled
|
||||
{
|
||||
if(type == FrameType.Both || type == FrameType.Import)
|
||||
@@ -223,7 +225,7 @@ namespace Flowframes
|
||||
interpExt = (Config.GetBool(Config.Key.jpegInterp) ? ".jpg" : ".png");
|
||||
}
|
||||
|
||||
Logger.Log($"RefreshExtensions({type}) - Using '{framesExt}' for imported frames, using '{interpExt}' for interpolated frames", true);
|
||||
Logger.Log($"RefreshExtensions - Using '{framesExt}' for imported frames, using '{interpExt}' for interpolated frames", true);
|
||||
}
|
||||
|
||||
public string Serialize ()
|
||||
|
||||
@@ -84,6 +84,7 @@ namespace Flowframes
|
||||
public static async Task GetFrames ()
|
||||
{
|
||||
current.RefreshAlpha();
|
||||
current.RefreshExtensions(InterpSettings.FrameType.Import);
|
||||
|
||||
if (Config.GetBool(Config.Key.scnDetect))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user