[Sumover-dev] [svn commit] r4339 - vic/branches/mpeg4/video

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Fri Dec 12 02:18:29 GMT 2008


Author: douglask
Date: Fri Dec 12 02:18:11 2008
New Revision: 4339

Modified:
   vic/branches/mpeg4/video/grabber-v4l2.cpp

Log:
Forgot to add debug code for V4L2_PIX_FMT_YUV420


Modified: vic/branches/mpeg4/video/grabber-v4l2.cpp
==============================================================================
--- vic/branches/mpeg4/video/grabber-v4l2.cpp	(original)
+++ vic/branches/mpeg4/video/grabber-v4l2.cpp	Fri Dec 12 02:18:11 2008
@@ -371,6 +371,8 @@
                         if (fmt.fmt.pix.height == test_height[i] && fmt.fmt.pix.width == test_width[i]) {
                                 have_YUV420P = 1;
                                 debug_msg("Device supports V4L2_PIX_FMT_YUV420 capture at %dx%d\n",test_width[i],test_height[i]);
+                        } else {
+                                debug_msg("V4L2_PIX_FMT_YUV420 capture at %dx%d not supported, returned %dx%d\n",test_width[i],test_height[i],fmt.fmt.pix.width,fmt.fmt.pix.height);
                         }
                 }
 



More information about the Sumover-dev mailing list