From a55d30c32f86c8ac7ba3222f3c6bdd7543c7d600 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Mon, 6 Jun 2016 16:54:29 -0400 Subject: Don't use too much temporal resolution on hybrid frames at low rate Otherwise, we risk having "temporal holes" in the HF that anti-collapse can't always fill in. --- celt/celt_encoder.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/celt/celt_encoder.c b/celt/celt_encoder.c index bee593b5..db41b390 100644 --- a/celt/celt_encoder.c +++ b/celt/celt_encoder.c @@ -1772,6 +1772,13 @@ int celt_encode_with_ec(CELTEncoder * OPUS_RESTRICT st, const opus_val16 * pcm, tf_select = tf_analysis(mode, effEnd, isTransient, tf_res, lambda, X, N, LM, &tf_sum, tf_estimate, tf_chan); for (i=effEnd;i