better debug prints
This commit is contained in:
		
							parent
							
								
									5651f185ff
								
							
						
					
					
						commit
						f6bf337540
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -336,7 +336,8 @@ void Webcam::init_device(void) | |||
|         { | ||||
|             // note that libv4l2 (look for 'v4l-utils') provides helpers
 | ||||
|             // to manage conversions
 | ||||
|             throw runtime_error("Webcam does not support the requested format. Support for more formats need to be added!"); | ||||
|             throw runtime_error("Webcam does not support the requested format. Support for more formats need to be added! video format is " | ||||
|                 + std::to_string(fmt.fmt.pix.pixelformat)); | ||||
|         } | ||||
| 
 | ||||
|         /* Note VIDIOC_S_FMT may change width and height. */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue