From 00129c59429a13fcee2f92a06c8ec5f90cdfaf9c Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 12 Nov 2020 23:23:52 +0100 Subject: [PATCH] Stick to the documented default bitrate of 1200 in case of config parsing issues (#350) --- core/ffmpeg/transcoder.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/ffmpeg/transcoder.go b/core/ffmpeg/transcoder.go index 8e0fb9aad..c9783a391 100644 --- a/core/ffmpeg/transcoder.go +++ b/core/ffmpeg/transcoder.go @@ -96,7 +96,6 @@ func (t *Transcoder) Start() { if t.TranscoderCompleted != nil { t.TranscoderCompleted(err) } - return } func (t *Transcoder) getString() string { @@ -175,7 +174,7 @@ func getVariantFromConfigQuality(quality config.StreamQuality, index int) HLSVar } if quality.VideoBitrate == 0 { - quality.VideoBitrate = 1000 + quality.VideoBitrate = 1200 } // If the video is being passed through then