a2dp: fix a problem in b9d1b818

This commit is contained in:
Huang-Huang Bao 2021-03-31 19:33:21 +08:00
parent 427e8abf0c
commit 63281413bd
No known key found for this signature in database
GPG key ID: 33C3271387A13D1B

View file

@ -299,7 +299,6 @@ static int codec_enum_props(void *props, const struct spa_dict *settings, uint32
{
switch (idx) {
case 0:
return 0;
spa_pod_builder_push_object(b, &f[0], SPA_TYPE_OBJECT_PropInfo, id);
spa_pod_builder_prop(b, SPA_PROP_INFO_id, 0);
spa_pod_builder_id(b, SPA_PROP_quality);