summaryrefslogtreecommitdiff
path: root/user/v4l-utils/time64.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-20 17:58:58 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-20 17:58:58 +0000
commit5f47dff0f92b6d48b3b16a7d619cad51c2d55b0e (patch)
treeca4a41c7ea492f6f64c75f82cae9320d776af965 /user/v4l-utils/time64.patch
parentc360fb7ccd7fcf5e08088a5f179b47112d0d374e (diff)
downloadpackages-5f47dff0f92b6d48b3b16a7d619cad51c2d55b0e.tar.gz
packages-5f47dff0f92b6d48b3b16a7d619cad51c2d55b0e.tar.bz2
packages-5f47dff0f92b6d48b3b16a7d619cad51c2d55b0e.tar.xz
packages-5f47dff0f92b6d48b3b16a7d619cad51c2d55b0e.zip
user/v4l-utils: Fix time64 issue
Diffstat (limited to 'user/v4l-utils/time64.patch')
-rw-r--r--user/v4l-utils/time64.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/v4l-utils/time64.patch b/user/v4l-utils/time64.patch
new file mode 100644
index 000000000..42092a773
--- /dev/null
+++ b/user/v4l-utils/time64.patch
@@ -0,0 +1,11 @@
+--- v4l-utils-1.18.0/utils/keytable/keytable.c.old 2019-09-22 09:22:54.000000000 +0000
++++ v4l-utils-1.18.0/utils/keytable/keytable.c 2020-01-20 02:38:23.659004998 +0000
+@@ -1533,7 +1533,7 @@
+
+ for (i = 0; i < rd / sizeof(struct input_event); i++) {
+ printf(_("%ld.%06ld: event type %s(0x%02x)"),
+- ev[i].time.tv_sec, ev[i].time.tv_usec,
++ ev[i].input_event_sec, ev[i].input_event_usec,
+ get_event_name(events_type, ev[i].type), ev[i].type);
+
+ switch (ev[i].type) {