Bug 16511 - gspca module return invalid v4l2_buffer's timestamp
Summary: gspca module return invalid v4l2_buffer's timestamp
Status: RESOLVED OBSOLETE
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: webcam (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: webcam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-04 07:17 UTC by andrey.d.nikitin
Modified: 2013-12-10 21:51 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.32-9
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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

Note You need to log in before you can comment on or make changes to this bug.