better debug prints

This commit is contained in:
2023-11-18 15:45:06 +01:00
parent 5651f185ff
commit f6bf337540

View File

@ -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. */