summaryrefslogtreecommitdiff
path: root/yavta.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2014-04-12 16:24:02 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-04-16 20:19:35 +0200
commit7b76ba36f2a5e82d2a4b7c9ea4f92290f3e432ba (patch)
treec1f0b755307130cdcc18613a2a39381a8ec36f7c /yavta.c
parenta562142b52c87cd919072d40b0be242646544b1b (diff)
Support copy timestamps
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Diffstat (limited to 'yavta.c')
-rw-r--r--yavta.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index e3b04e3..87e2f31 100644
--- a/yavta.c
+++ b/yavta.c
@@ -726,6 +726,9 @@ static void get_ts_flags(uint32_t flags, const char **ts_type, const char **ts_s
case V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC:
*ts_type = "mono";
break;
+ case V4L2_BUF_FLAG_TIMESTAMP_COPY:
+ *ts_type = "copy";
+ break;
default:
*ts_type = "inv";
}