mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
bluez5: aac: reject MPEG4_AAC_LTP, MPEG4_AAC_SCA in select_config
These modes are not actually supported by the code, so it should not accept them.
This commit is contained in:
parent
f977c45240
commit
d57c9bd1bd
1 changed files with 2 additions and 2 deletions
|
|
@ -119,9 +119,9 @@ static int codec_select_config(const struct a2dp_codec *codec, uint32_t flags,
|
||||||
else if (conf.object_type & AAC_OBJECT_TYPE_MPEG4_AAC_LC)
|
else if (conf.object_type & AAC_OBJECT_TYPE_MPEG4_AAC_LC)
|
||||||
conf.object_type = AAC_OBJECT_TYPE_MPEG4_AAC_LC;
|
conf.object_type = AAC_OBJECT_TYPE_MPEG4_AAC_LC;
|
||||||
else if (conf.object_type & AAC_OBJECT_TYPE_MPEG4_AAC_LTP)
|
else if (conf.object_type & AAC_OBJECT_TYPE_MPEG4_AAC_LTP)
|
||||||
conf.object_type = AAC_OBJECT_TYPE_MPEG4_AAC_LTP;
|
return -ENOTSUP; /* Not supported by FDK-AAC */
|
||||||
else if (conf.object_type & AAC_OBJECT_TYPE_MPEG4_AAC_SCA)
|
else if (conf.object_type & AAC_OBJECT_TYPE_MPEG4_AAC_SCA)
|
||||||
conf.object_type = AAC_OBJECT_TYPE_MPEG4_AAC_SCA;
|
return -ENOTSUP; /* Not supported by FDK-AAC */
|
||||||
else
|
else
|
||||||
return -ENOTSUP;
|
return -ENOTSUP;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue