mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pw-dump: sync on metadata change so that changes are displayed soon
In order to show metadata changes when monitoring, a sync must be triggered just like it is done for other objects, to make sure that `dump_objects()` is called some time later and the changed metadata objects are shown. Otherwise metadata changes would never be displayed unless there was a change to a different type of object, whose event handlers do trigger a sync. Fixes #4053
This commit is contained in:
		
							parent
							
								
									d04a28daef
								
							
						
					
					
						commit
						eed7eb1556
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1231,6 +1231,7 @@ static int metadata_property(void *data,
 | 
			
		|||
		e->changed++;
 | 
			
		||||
	}
 | 
			
		||||
	o->changed++;
 | 
			
		||||
	core_sync(o->data);
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue