Hi Eric

Is any special reason why constant in condition on line 178 of file 
m5602_v4l2.c 
is equals 12? My camera send some packets smaller that 12, if I extend expose 
time.
After that is image shaky and a little moved left. With value 6 is my image 
good 
in any cases. Please, apply this patch.

Index: m5602_v4l2.c
===================================================================
--- m5602_v4l2.c        (revision 404)
+++ m5602_v4l2.c        (working copy)
@@ -184,8 +184,8 @@
                len = urb->iso_frame_desc[i].actual_length;
                pos = urb->iso_frame_desc[i].offset + urb->transfer_buffer;

-               /* If the packet is smaller than 12 bytes in size, skip it */
-               if (len < 12)
+               /* If the packet is smaller than 6 bytes in size, skip it */
+               if (len < 6)
                        continue;

                /* Frame delimiter: ff xx xx xx ff ff */


Regards Lukas.




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
M560x-driver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel

Reply via email to