Workaround #6072: FFMPEG AAC encoding graded experimental

Due to many reporing issues with different AAC encoder configurations
deactivate support by default. Can be enabled by compiling with
experimental codec support.
This commit is contained in:
akallabeth
2020-04-28 08:34:38 +02:00
committed by akallabeth
parent 9867793d07
commit ca6d2d1b2c

View File

@@ -79,6 +79,14 @@ static BOOL ffmpeg_codec_is_filtered(enum AVCodecID id, BOOL encoder)
case AV_CODEC_ID_NONE:
return TRUE;
case AV_CODEC_ID_AAC:
case AV_CODEC_ID_AAC_LATM:
#if !defined(WITH_DSP_EXPERIMENTAL)
if (encoder)
return TRUE;
#endif
return FALSE;
default:
return FALSE;
}