media: videobuf: use u64 for the timestamp internally
Just like vb2 does, use u64 internally to store the timestamps of the buffers. Only convert to timeval when interfacing with userspace. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
63635b54e0
commit
15a40b27be
@@ -80,7 +80,7 @@ struct videobuf_buffer {
|
||||
struct list_head queue;
|
||||
wait_queue_head_t done;
|
||||
unsigned int field_count;
|
||||
struct timeval ts;
|
||||
u64 ts;
|
||||
|
||||
/* Memory type */
|
||||
enum v4l2_memory memory;
|
||||
|
Reference in New Issue
Block a user