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

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Thu Aug 26 03:07:38 BST 2010


Author: douglask
Date: Thu Aug 26 03:07:38 2010
New Revision: 4877

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

Log:
Allow 1920x1080 to be set as a valid resolution.

Was previously setting 1920x1080 input to 1920x1072.


Modified: vic/branches/mpeg4/video/grabber.cpp
==============================================================================
--- vic/branches/mpeg4/video/grabber.cpp	(original)
+++ vic/branches/mpeg4/video/grabber.cpp	Thu Aug 26 03:07:38 2010
@@ -426,7 +426,9 @@
 	inw_ = w;
 	inh_ = h;
 	w &=~ 0xf;
-	h &=~ 0xf;
+	if (h != 1080) {
+		h &=~ 0xf;
+	}
 	outw_ = w;
 	outh_ = h;
 



More information about the Sumover-dev mailing list