mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	stream: handle NULL context
This commit is contained in:
		
							parent
							
								
									65f961fca0
								
							
						
					
					
						commit
						d560499054
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -212,7 +212,7 @@ static void stream_state_changed(void *data, enum pw_stream_state old,
 | 
			
		|||
	pw_log_debug("stream %p: state  '%s'->'%s' (%d)", s, pw_stream_state_as_string(old),
 | 
			
		||||
			pw_stream_state_as_string(state), s->state);
 | 
			
		||||
 | 
			
		||||
	if (s->state == PA_STREAM_TERMINATED)
 | 
			
		||||
	if (s->state == PA_STREAM_TERMINATED || c == NULL)
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
	switch(state) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue