ref: f548a5a35d4e808eba5224084034c09421edcc6a
parent: 854796481543539f2cda745861c0cd398a1a78de
author: Jean-Marc Valin <[email protected]>
date: Mon Nov 26 18:20:01 EST 2012
Makes variable framesize less aggressive at lower rates
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -590,6 +590,10 @@
float best_cost;
int best_state;
+ /* Makes variable framesize less aggressive at lower bitrates, but I can't
+ find any valid theretical justification for this (other than it seems
+ to help) */
+ frame_cost *= 720/rate;
for (i=0;i<16;i++)
{
/* Impossible state */