Config: Don't disable ffmpeg even when server has < 3 GB memory

see #1135, #1390, and #1397
This commit is contained in:
Michael Mayer 2021-08-05 20:18:52 +02:00
parent 6122949bab
commit 403afc69aa

View file

@ -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() == ""
}