mirror of https://github.com/stashapp/stash.git
Add bmp to image codec list (#4653)
This commit is contained in:
parent
22986097c4
commit
f1f6e84aa0
|
@ -69,7 +69,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"} {
|
||||
for _, item := range []string{"png", "mjpeg", "webp", "bmp"} {
|
||||
if item == probe.VideoCodec {
|
||||
isClip = false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue