mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Fix rate control for flat lp-gop
This commit is contained in:
parent
284e73839e
commit
67a6ba667e
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue