mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Removed unnecessary error from IsStreamable
This commit is contained in:
parent
39c37cd8a8
commit
5db9cd9c05
1 changed files with 2 additions and 1 deletions
|
|
@ -19,7 +19,8 @@ func IsStreamable(scene *models.Scene) (bool, error) {
|
||||||
case "video/quicktime", "video/mp4", "video/webm", "video/x-m4v":
|
case "video/quicktime", "video/mp4", "video/webm", "video/x-m4v":
|
||||||
return true, nil
|
return true, nil
|
||||||
default:
|
default:
|
||||||
return HasTranscode(scene)
|
hasTranscode, _ := HasTranscode(scene)
|
||||||
|
return hasTranscode, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue