diff mbox

[yavta,v3,10/11] Support copy timestamps

Message ID 1397309043-8322-11-git-send-email-sakari.ailus@iki.fi (mailing list archive)
State New, archived
Headers show

Commit Message

Sakari Ailus April 12, 2014, 1:24 p.m. UTC
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
---
 yavta.c |    3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/yavta.c b/yavta.c
index e81e058..c878c0d 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";
 	}