mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	v4l2: turn some info to debug again
This commit is contained in:
		
							parent
							
								
									0d24f6b35f
								
							
						
					
					
						commit
						8a2e154bae
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -1592,11 +1592,11 @@ static int try_format(struct file *file, struct v4l2_format *fmt)
 | 
			
		|||
			continue;
 | 
			
		||||
 | 
			
		||||
		score = score_diff(fmt, &tmp);
 | 
			
		||||
		pw_log_info("check: type: %u", tmp.type);
 | 
			
		||||
		pw_log_info("check: format: %.4s", (char*)&tmp.fmt.pix.pixelformat);
 | 
			
		||||
		pw_log_info("check: width: %u", tmp.fmt.pix.width);
 | 
			
		||||
		pw_log_info("check: height: %u", tmp.fmt.pix.height);
 | 
			
		||||
		pw_log_info("check: score: %d best:%d", score, best);
 | 
			
		||||
		pw_log_debug("check: type: %u", tmp.type);
 | 
			
		||||
		pw_log_debug("check: format: %.4s", (char*)&tmp.fmt.pix.pixelformat);
 | 
			
		||||
		pw_log_debug("check: width: %u", tmp.fmt.pix.width);
 | 
			
		||||
		pw_log_debug("check: height: %u", tmp.fmt.pix.height);
 | 
			
		||||
		pw_log_debug("check: score: %d best:%d", score, best);
 | 
			
		||||
 | 
			
		||||
		if (p->id == SPA_PARAM_Format) {
 | 
			
		||||
			best_fmt = tmp;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue