mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: remove pending_streams list
We can simply use the pending flag and merge the handling of the new stream with the stream move logic.
This commit is contained in:
		
							parent
							
								
									35cca08d2b
								
							
						
					
					
						commit
						846e732458
					
				
					 5 changed files with 23 additions and 30 deletions
				
			
		| 
						 | 
				
			
			@ -103,9 +103,6 @@ void stream_free(struct stream *stream)
 | 
			
		|||
 | 
			
		||||
	pw_log_debug("client %p: stream %p channel:%d", client, stream, stream->channel);
 | 
			
		||||
 | 
			
		||||
	if (stream->pending)
 | 
			
		||||
		spa_list_remove(&stream->link);
 | 
			
		||||
 | 
			
		||||
	if (stream->drain_tag)
 | 
			
		||||
		reply_error(client, -1, stream->drain_tag, -ENOENT);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue