mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	node-driver: warn if the specified clock can't be opened
This commit is contained in:
		
							parent
							
								
									ffa6a4083a
								
							
						
					
					
						commit
						f7fa7df3ee
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -555,7 +555,7 @@ impl_init(const struct spa_handle_factory *factory,
 | 
			
		|||
		} else if (spa_streq(k, "clock.device")) {
 | 
			
		||||
			this->clock_fd = open(s, O_RDWR);
 | 
			
		||||
			if (this->clock_fd == -1) {
 | 
			
		||||
				spa_log_info(this->log, "failed to open clock device '%s'", s);
 | 
			
		||||
				spa_log_warn(this->log, "failed to open clock device '%s'", s);
 | 
			
		||||
			} else {
 | 
			
		||||
				this->props.clock_id = FD_TO_CLOCKID(this->clock_fd);
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue