Commit 06e23760 authored by Andrew Tarzwell's avatar Andrew Tarzwell Committed by Tristan Matthews

v4l: fix compilation on Debian Sid

parent eaa38a66
......@@ -241,7 +241,7 @@ VideoV4l2Channel::getSizes(int fd, unsigned int pixelformat)
v4l2_format fmt = {0};
v4l2_format fmt = {(v4l2_buf_type) 0};
if (ioctl(fd, VIDIOC_G_FMT, &fmt) < 0)
throw std::runtime_error("Could not get format");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment