fix bitrate update

This commit is contained in:
Saxon Milton 2018-05-17 16:39:36 +09:30
parent 8e806b59dc
commit 0741643ac6
2 changed files with 0 additions and 1 deletions

BIN
RevidCLI

Binary file not shown.

View File

@ -168,7 +168,6 @@ func (config *Config) Validate(r *revid) error {
r.Log(Warning, "No input codec defined, defaulting to h264!") r.Log(Warning, "No input codec defined, defaulting to h264!")
config.InputCodec = H264 config.InputCodec = H264
r.Log(Warning, "Defaulting bitrate to 0 and quantization to 35!") r.Log(Warning, "Defaulting bitrate to 0 and quantization to 35!")
config.Bitrate = defaultBitrate
config.Quantization = defaultQuantization config.Quantization = defaultQuantization
default: default:
return errors.New("Bad input codec defined in config!") return errors.New("Bad input codec defined in config!")