v4l2_buffer sequence number field possibly invalid in vivi driver. Instructions to reproduce. 1) install vivi driver 2) download capture.c from V4L2 website. 3) patch capture.c with patch below or edit manually to print buffer sequence field. --- capture.c.orig 2008-09-08 15:24:47.000000000 -0700 +++ capture.c 2008-09-08 15:20:37.000000000 -0700 @@ -122,7 +122,7 @@ } assert (buf.index < n_buffers); - + printf("buf.sequence %d\n", buf.sequence); process_image (buffers[buf.index].start); if (-1 == xioctl (fd, VIDIOC_QBUF, &buf)) 4) Run "./capture -d /dev/video0" where video0 is the vivi driver. 5) Output below shows sequence number possibly not incremented correctly. buf.sequence 0 .buf.sequence 0 .buf.sequence 0 .buf.sequence 0 .buf.sequence 1 .buf.sequence 1 .buf.sequence 1 .buf.sequence 1 .buf.sequence 1 .buf.sequence 1 .buf.sequence 1 .buf.sequence 1 .buf.sequence 2 .buf.sequence 2 .buf.sequence 2 .buf.sequence 2 .buf.sequence 2 .buf.sequence 2 .buf.sequence 2 .buf.sequence 2 .buf.sequence 3 .buf.sequence 3 .buf.sequence 3 .buf.sequence 3 .buf.sequence 3 .buf.sequence 3 .buf.sequence 3 .buf.sequence 3 .buf.sequence 4 _______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb