Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2016-06-06 23:52:50 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-16 02:35:50 +0300
commitbb8ebe8f1a78c89141b7198bcae88f65fea6a324 (patch)
treea0d9e9e7f8c4d18dde907b02fd721ef2b91ee4b9
parent8b5a30b5a6d5403f1662eed2b418c349012d84b4 (diff)
Disable patch_transient_decision() on hybrid since it's causing artifacts
It would trigger on the second frame of "S"s, causing holes in the spectrum
-rw-r--r--celt/celt_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/celt_encoder.c b/celt/celt_encoder.c
index 7c949ccb..98cf4a88 100644
--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1731,7 +1731,7 @@ int celt_encode_with_ec(CELTEncoder * OPUS_RESTRICT st, const opus_val16 * pcm,
/* Last chance to catch any transient we might have missed in the
time-domain analysis */
- if (LM>0 && ec_tell(enc)+3<=total_bits && !isTransient && st->complexity>=5 && !st->lfe)
+ if (LM>0 && ec_tell(enc)+3<=total_bits && !isTransient && st->complexity>=5 && !st->lfe && !hybrid)
{
if (patch_transient_decision(bandLogE, oldBandE, nbEBands, start, end, C))
{