mirror of https://bitbucket.org/ausocean/av.git
fix bitrate update
This commit is contained in:
parent
8e806b59dc
commit
0741643ac6
|
@ -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!")
|
||||||
|
|
Loading…
Reference in New Issue