mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
re-enable preview fallback generation mode (#3377)
This commit is contained in:
parent
32e8496314
commit
7ccfa07843
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ func (t *GeneratePreviewTask) Start(ctx context.Context) {
|
|||
func (t GeneratePreviewTask) generateVideo(videoChecksum string, videoDuration float64) error {
|
||||
videoFilename := t.Scene.Path
|
||||
|
||||
if err := t.generator.PreviewVideo(context.TODO(), videoFilename, videoDuration, videoChecksum, t.Options, true); err != nil {
|
||||
if err := t.generator.PreviewVideo(context.TODO(), videoFilename, videoDuration, videoChecksum, t.Options, false); err != nil {
|
||||
logger.Warnf("[generator] failed generating scene preview, trying fallback")
|
||||
if err := t.generator.PreviewVideo(context.TODO(), videoFilename, videoDuration, videoChecksum, t.Options, true); err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Reference in a new issue