0

Use default video variants if none supplied. Fixes #199

This commit is contained in:
Gabe Kangas 2020-09-27 20:09:52 -07:00
parent 1c74b8aeca
commit ef3796a033

View File

@ -195,7 +195,7 @@ func NewTranscoder() Transcoder {
transcoder.input = utils.GetTemporaryPipePath()
transcoder.segmentLengthSeconds = config.Config.GetVideoSegmentSecondsLength()
qualities := config.Config.VideoSettings.StreamQualities
qualities := config.Config.GetVideoStreamQualities()
for index, quality := range qualities {
variant := getVariantFromConfigQuality(quality, index)
transcoder.AddVariant(variant)