Config: Don't disable ffmpeg even when server has < 3 GB memory
see #1135, #1390, and #1397
This commit is contained in:
parent
6122949bab
commit
403afc69aa
|
@ -49,11 +49,6 @@ func (c *Config) DisableTensorFlow() bool {
|
|||
|
||||
// DisableFFmpeg tests if FFmpeg is disabled for video transcoding.
|
||||
func (c *Config) DisableFFmpeg() bool {
|
||||
if LowMem && !c.options.DisableFFmpeg {
|
||||
c.options.DisableFFmpeg = true
|
||||
log.Warnf("config: disabled video transcoding due to memory constraints")
|
||||
}
|
||||
|
||||
return c.options.DisableFFmpeg || c.FFmpegBin() == ""
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue