Use default video variants if none supplied. Fixes #199
This commit is contained in:
parent
1c74b8aeca
commit
ef3796a033
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user