mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse: add more checks
This commit is contained in:
		
							parent
							
								
									cecbf3191b
								
							
						
					
					
						commit
						ee5d6b4451
					
				
					 2 changed files with 31 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -821,7 +821,7 @@ static void core_error(void *data, uint32_t id, int seq, int res, const char *me
 | 
			
		|||
	pw_log_error("context %p: error id:%u seq:%d res:%d (%s): %s", c,
 | 
			
		||||
			id, seq, res, spa_strerror(res), message);
 | 
			
		||||
 | 
			
		||||
	if (id == 0) {
 | 
			
		||||
	if (id == PW_ID_CORE) {
 | 
			
		||||
		if (!c->disconnect)
 | 
			
		||||
			pa_context_fail(c, PA_ERR_CONNECTIONTERMINATED);
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue