--- vic/video/grabber-v4l2.cpp 2007-12-16 16:11:29.000000000 +1100 +++ vic/video/grabber-v4l2.cpp 2008-06-22 22:34:19.000000000 +1000 @@ -1073,8 +1073,10 @@ } while ( !format_ok ) { - width_ = CIF_WIDTH *2 / decimate_; - height_ = CIF_HEIGHT *2 / decimate_; + if (decimate_ > 0) { + width_ = CIF_WIDTH *2 / decimate_; + height_ = CIF_HEIGHT *2 / decimate_; + } debug_msg("V4L2: format"); switch (cformat_) { @@ -1139,6 +1141,12 @@ decimate_ = 4; break; case 1: + debug_msg("V4L2: trying full resolution ...\n"); + decimate_ = 0; + width_ = NTSC_WIDTH; + height_ = NTSC_HEIGHT; + break; + case 0: debug_msg("V4L2: trying resolution under ...\n"); decimate_ = 2; break;