This commit is contained in:
Colin Alexander Duffy 2025-11-06 02:09:40 -05:00 committed by GitHub
parent 095e5d50ab
commit 20fa5d3146
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}