Skip to content
Snippets Groups Projects
Commit eecc17cf authored by Pierre Duchemin's avatar Pierre Duchemin
Browse files

media: fix speex ids

Change-Id: I72dcdecda2aab18c251f339d979bf72bda1af3e2
parent 1f5a8593
No related branches found
No related tags found
No related merge requests found
......@@ -409,8 +409,8 @@ Account::convertIdToAVId(const std::vector<unsigned>& list)
#endif
AV_CODEC_ID_OPUS,
AV_CODEC_ID_ADPCM_G722,
AV_CODEC_ID_SPEEX & 0x20000000,
AV_CODEC_ID_SPEEX & 0x10000000,
AV_CODEC_ID_SPEEX | 0x20000000,
AV_CODEC_ID_SPEEX | 0x10000000,
AV_CODEC_ID_SPEEX,
AV_CODEC_ID_PCM_ALAW,
AV_CODEC_ID_PCM_MULAW
......
......@@ -106,12 +106,12 @@ SystemCodecContainer::initCodecConfig()
CODEC_ENCODER_DECODER,
0, 16000, 1, 9),
std::make_shared<SystemAudioCodecInfo>(AV_CODEC_ID_SPEEX & 0x20000000, AV_CODEC_ID_SPEEX,
std::make_shared<SystemAudioCodecInfo>(AV_CODEC_ID_SPEEX | 0x20000000, AV_CODEC_ID_SPEEX,
"speex", "libspeex",
CODEC_ENCODER_DECODER,
0, 32000, 1, 112),
std::make_shared<SystemAudioCodecInfo>(AV_CODEC_ID_SPEEX & 0x10000000, AV_CODEC_ID_SPEEX,
std::make_shared<SystemAudioCodecInfo>(AV_CODEC_ID_SPEEX | 0x10000000, AV_CODEC_ID_SPEEX,
"speex", "libspeex",
CODEC_ENCODER_DECODER,
0, 16000, 1, 111),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment