Fix rate control for flat lp-gop

This commit is contained in:
Joose Sainio 2018-11-06 09:38:17 +02:00
parent 284e73839e
commit 67a6ba667e

View file

@ -754,6 +754,7 @@ static int encoder_control_init_gop_layer_weights(encoder_control_t * const enco
switch (num_layers) {
case 0:
case 1:
encoder->gop_layer_weights[0] = 1;
break;
// Use the first layers of the 4-layer weights.