mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	audioconvert: remove props from info
After emiting the node info, remove the properties from the info again so that we don't accidentally emit them again later, when the info and properties are out of scope.
This commit is contained in:
		
							parent
							
								
									daf53b94ed
								
							
						
					
					
						commit
						c2dbe1d64d
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -964,6 +964,10 @@ static void follower_info(void *data, const struct spa_node_info *info)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	emit_node_info(this, false);
 | 
						emit_node_info(this, false);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						spa_zero(this->info.props);
 | 
				
			||||||
 | 
						this->info.change_mask &= ~SPA_NODE_CHANGE_MASK_PROPS;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int recalc_latency(struct impl *this, enum spa_direction direction, uint32_t port_id)
 | 
					static int recalc_latency(struct impl *this, enum spa_direction direction, uint32_t port_id)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue