mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Add bmp to image codec list (#4653)
This commit is contained in:
@@ -69,7 +69,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"} {
|
for _, item := range []string{"png", "mjpeg", "webp", "bmp"} {
|
||||||
if item == probe.VideoCodec {
|
if item == probe.VideoCodec {
|
||||||
isClip = false
|
isClip = false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user