mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-12 03:01:58 -04:00
milan-avb: ensure the pw streams match the milan AVB stream format and derives correct strides,
also fix crash in entity parser when not available
This commit is contained in:
parent
25203c5293
commit
7262d0f34c
3 changed files with 129 additions and 64 deletions
|
|
@ -339,7 +339,8 @@ static void init_descriptor_milan_v12(struct server *server)
|
|||
/**************************************************************************************/
|
||||
/* IEEE 1722.1-2021, Sec. 7.2.1 - ENTITY Descriptor */
|
||||
/* Milan v1.2, Sec. 5.3.3.1 */
|
||||
struct avb_entity_config entity_conf = conf_load_entity(server->impl->props);
|
||||
struct avb_entity_config entity_conf;
|
||||
conf_load_entity(server->impl->props, &entity_conf);
|
||||
|
||||
struct avb_aem_desc_entity entity = {
|
||||
.entity_id = htobe64(server->entity_id),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue