History

aacenc: temporarily disable Mid/Side coding with multichannel files

Results in dropping out in channels, usually on EIGHT_SHORT windows. Will be reenabled once the cause has been investigated and a fix has been made.

Rostislav Pehlivanov committed 10 years ago

Commit 0fe0e211 parent 588e2e31 file · +4 −0Browse files

Unified · Split

libavcodec/aacenc.c+4−0
@@ -995,6 +995,10 @@ static av_cold int aac_encode_init(AVCodecContext *avctx) · 994 unmodified lines
995 ERROR_IF(s->options.ltp && avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL,995 ERROR_IF(s->options.ltp && avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL,
996 "The LPT profile requires experimental compliance, add -strict -2 to enable!\n");996 "The LPT profile requires experimental compliance, add -strict -2 to enable!\n");
997 997
998 /* M/S introduces horrible artifacts with multichannel files, this is temporary */
999 if (s->channels > 3)
1000 s->options.mid_side = 0;
1001
998 if ((ret = dsp_init(avctx, s)) < 0)1002 if ((ret = dsp_init(avctx, s)) < 0)
999 goto fail;1003 goto fail;
1000 1004

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t