mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-23 21:47:14 -04:00
Update BlurHashSharp to 1.0.1, remove workaround
This commit is contained in:
parent
f30b07130f
commit
a76cee7a95
2 changed files with 1 additions and 6 deletions
|
@ -18,7 +18,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="BlurHashSharp" Version="1.0.0" />
|
||||
<PackageReference Include="BlurHashSharp" Version="1.0.1" />
|
||||
<PackageReference Include="BlurHashSharp.SkiaSharp" Version="1.0.0" />
|
||||
<PackageReference Include="SkiaSharp" Version="1.68.1" />
|
||||
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="1.68.1" />
|
||||
|
|
|
@ -257,11 +257,6 @@ namespace Jellyfin.Drawing.Skia
|
|||
int xComp = Math.Min((int)xCompF + 1, 9);
|
||||
int yComp = Math.Min((int)yCompF + 1, 9);
|
||||
|
||||
// FIXME: current lib is bugged for xComp != yComp
|
||||
// remove when https://github.com/Bond-009/BlurHashSharp/pull/1 is merged
|
||||
int tmp = Math.Max(xComp, yComp);
|
||||
xComp = yComp = tmp;
|
||||
|
||||
return BlurHashEncoder.Encode(xComp, yComp, path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue