mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: don't process while the stream is created
When the stream is still being created, avoid doing any processing because some things might not be configured yet.
This commit is contained in:
		
							parent
							
								
									daf761a87f
								
							
						
					
					
						commit
						c9fc3d7f42
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1189,8 +1189,10 @@ static void stream_process(void *data)
 | 
			
		|||
	uint32_t size, minreq = 0, index;
 | 
			
		||||
	struct process_data pd;
 | 
			
		||||
 | 
			
		||||
	pw_log_trace_fp("%p: process", stream);
 | 
			
		||||
	if (stream->create_tag != SPA_ID_INVALID)
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
	pw_log_trace_fp("%p: process", stream);
 | 
			
		||||
	buffer = pw_stream_dequeue_buffer(stream->stream);
 | 
			
		||||
	if (buffer == NULL)
 | 
			
		||||
		return;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue