mirror of
https://github.com/stashapp/stash.git
synced 2025-12-16 20:07:05 +03:00
Add JXL (#6184)
This commit is contained in:
committed by
GitHub
parent
095e5d50ab
commit
20fa5d3146
@@ -50,7 +50,7 @@ func (d *Decorator) Decorate(ctx context.Context, fs models.FS, f models.File) (
|
||||
|
||||
isClip := true
|
||||
// This list is derived from ffmpegImageThumbnail in pkg/image/thumbnail. If one gets updated, the other should be as well
|
||||
for _, item := range []string{"png", "mjpeg", "webp", "bmp"} {
|
||||
for _, item := range []string{"png", "mjpeg", "webp", "bmp", "jpegxl"} {
|
||||
if item == probe.VideoCodec {
|
||||
isClip = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user