mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	client-stream: Don't allow DYNAMIC_DATA
We don't want to use dynamic data for the remote nodes, the buffers need to keep pointing to the memfd memory.
This commit is contained in:
		
							parent
							
								
									32f039e2e5
								
							
						
					
					
						commit
						0db5817ed7
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
					@ -315,8 +315,11 @@ static void adapter_port_info(void *data,
 | 
				
			||||||
	struct impl *impl = data;
 | 
						struct impl *impl = data;
 | 
				
			||||||
	struct node *this = &impl->node;
 | 
						struct node *this = &impl->node;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (direction == impl->direction)
 | 
						if (direction == impl->direction) {
 | 
				
			||||||
		spa_node_emit_port_info(&this->hooks, direction, port_id, info);
 | 
							struct spa_port_info i = *info;
 | 
				
			||||||
 | 
							SPA_FLAG_UNSET(i.flags, SPA_PORT_FLAG_DYNAMIC_DATA);
 | 
				
			||||||
 | 
							spa_node_emit_port_info(&this->hooks, direction, port_id, &i);
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void adapter_result(void *data, int seq, int res, const void *result)
 | 
					static void adapter_result(void *data, int seq, int res, const void *result)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue