On 19 December 2011 01:19, Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> wrote: > Hi Javier, > > On Thursday 15 December 2011 17:02:47 javier Martin wrote: >> Hi, >> we are testing a logitech Webcam M/N: V-U0012 in the UVC tree (commit >> ef7728797039bb6a20f22cc2d96ef72d9338cba0). >> It is configured at 25fps, VGA. >> >> We've observed that the following debugging message appears sometimes >> "Frame complete (FID bit toggled).". Whenever this happens a v4l2 >> frame is lost (i.e. one sequence number has been skipped). >> >> Is this behavior expected? What could we do to avoid frame loss? > > Could you check the frame intervals to see if a frame is really lost, or if > the driver erroneously reports frame loss ? Hi Laurent, sequence number in the v4l2 buffer returned is one step bigger than expected, however the timestamp difference with the previous buffer is 40ms which is what it is expected at 25fps. So, sequence number indicates a buffer has been lost but timestamp does not. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html