Bug 16511

Summary: gspca module return invalid v4l2_buffer's timestamp
Product: v4l-dvb Reporter: andrey.d.nikitin
Component: webcamAssignee: webcam (v4l-dvb_webcam)
Status: RESOLVED OBSOLETE    
Severity: normal CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.32-9 Subsystem:
Regression: No Bisected commit-id:

Description andrey.d.nikitin 2010-08-04 07:17:36 UTC
v4l2 API says about struct v4l2_buffer timestamp value:
  "For input streams this is the system time (as returned by the gettimeofday() function)
   when the first data byte was captured."

gspca devica capture (v4l2, mmap, qbuf/dqbuf)
frame_nr   timestamp sec:usec
--------   ------------------
       1   4980:319
       2   4980:319
       3   4980:383
       4   4980:479
       5   4980:543
       6   4980:639
       7   4980:703
       8   4980:799
       9   4980:863
      10   4980:927

4980 sec = 1970 year.

-- Package-specific info:
** Version:
Linux version 2.6.32-3-686-bigmem (Debian 2.6.32-9) (maks@debian.org) (gcc version 4.3.4 (Debian 4.3.4-8) ) #1 SMP Thu Feb 25 06:54:30 UTC 2010
Comment 1 Alan 2013-12-10 21:51:14 UTC
If this is still present in modern kernels please update