Mantis - Squeak
Viewing Issue Advanced Details
7818 OS-Linux minor always 04-13-14 17:51 04-13-14 17:51
Stu  
 
normal  
new trunk  
open  
none    
none  
0007818: Incorrect bpp calculation in sqCamera-linux.c
Incorrect bpp calculation in sqCamera-linux.c.
There are also a couple of instances of trailing whitespace in the switch statement where this bug is found.
--- sqCamera-linux.c.orig Sun Apr 13 13:47:01 2014
+++ sqCamera-linux.c Sun Apr 13 13:48:25 2014
@@ -696,7 +696,7 @@
                bpp = 2;
                break;
          case V4L2_PIX_FMT_YUYV: /* printf("V4L2_PIX_FMT_YUYV\n"); */
- bpp = 4;
+ bpp = 2;
                break;
        }

There are no notes attached to this issue.