mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	media-session: also check restore-stream when info updates
We only need an info update to restore the stream so check for that in addition to a param update. The info update can be used to restore the stream and the param update to update the stored value.
This commit is contained in:
		
							parent
							
								
									7362a6be04
								
							
						
					
					
						commit
						24f61deefd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -457,7 +457,7 @@ static void object_update(void *data)
 | 
				
			||||||
	pw_log_info(NAME" %p: stream %p %08x/%08x", impl, str,
 | 
						pw_log_info(NAME" %p: stream %p %08x/%08x", impl, str,
 | 
				
			||||||
			str->obj->obj.changed, str->obj->obj.avail);
 | 
								str->obj->obj.changed, str->obj->obj.avail);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (str->obj->obj.changed & SM_NODE_CHANGE_MASK_PARAMS)
 | 
						if (str->obj->obj.changed & (SM_NODE_CHANGE_MASK_INFO | SM_NODE_CHANGE_MASK_PARAMS))
 | 
				
			||||||
		update_stream(str);
 | 
							update_stream(str);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue