mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	stream: don't emit process when disconnecting
Commitb160a72018introduced this change before, but it was omitted ine1e0a886d5. This makes again sure we don't call process callback while disconnecting stream. Fixes #3314
This commit is contained in:
		
							parent
							
								
									06438cbc9a
								
							
						
					
					
						commit
						8d55213288
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -446,7 +446,7 @@ static inline void call_process(struct stream *impl)
 | 
			
		|||
	if (impl->n_buffers == 0 ||
 | 
			
		||||
	    (impl->direction == SPA_DIRECTION_OUTPUT && update_requested(impl) <= 0))
 | 
			
		||||
		return;
 | 
			
		||||
	if (impl->rt_callbacks.funcs)
 | 
			
		||||
	if (impl->rt_callbacks.funcs && !impl->disconnecting)
 | 
			
		||||
		spa_callbacks_call_fast(&impl->rt_callbacks, struct pw_stream_events, process, 0);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue