better debug prints
This commit is contained in:
@ -336,7 +336,8 @@ void Webcam::init_device(void)
|
|||||||
{
|
{
|
||||||
// note that libv4l2 (look for 'v4l-utils') provides helpers
|
// note that libv4l2 (look for 'v4l-utils') provides helpers
|
||||||
// to manage conversions
|
// 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. */
|
/* Note VIDIOC_S_FMT may change width and height. */
|
||||||
|
Reference in New Issue
Block a user