mirror of
https://github.com/xiph/opus.git
synced 2025-05-29 14:49:14 +00:00
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
This commit is contained in:
parent
cc344b019d
commit
92d2492bfd
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue