mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +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
|
isClip := true
|
||||||
// This list is derived from ffmpegImageThumbnail in pkg/image/thumbnail. If one gets updated, the other should be as well
|
// 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 {
|
if item == probe.VideoCodec {
|
||||||
isClip = false
|
isClip = false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user