support: add right property id

This commit is contained in:
Wim Taymans 2021-04-01 10:08:47 +02:00
parent 339927ac76
commit b318a9e1d3

View file

@ -390,7 +390,7 @@ port_enum_formats(struct impl *this,
0);
} else {
spa_pod_builder_add(builder,
SPA_FORMAT_AUDIO_rate, SPA_POD_CHOICE_RANGE_Int(DEFAULT_CHANNELS, 1, INT32_MAX),
SPA_FORMAT_AUDIO_channels, SPA_POD_CHOICE_RANGE_Int(DEFAULT_CHANNELS, 1, INT32_MAX),
0);
}
if (this->props.n_pos != 0) {