Browse Source

Stick to the documented default bitrate of 1200 in case of config parsing issues (#350)

pull/351/head
Christian Muehlhaeuser 5 years ago committed by GitHub
parent
commit
00129c5942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      core/ffmpeg/transcoder.go

3
core/ffmpeg/transcoder.go

@ -96,7 +96,6 @@ func (t *Transcoder) Start() { @@ -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 @@ -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

Loading…
Cancel
Save