This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: v4l2-compliance: don't warn about seq counter for metadata Author: Hans Verkuil <[email protected]> Date: Wed Mar 17 10:24:50 2021 +0100 Don't warn about unexpected sequence counters for metadata streams: the sequence counter is typically linked to the video capture to sync the metadata with the video data. So the sequence counter would start at a non-zero value and produce a warning when it shouldn't. Signed-off-by: Hans Verkuil <[email protected]> utils/v4l2-compliance/v4l2-test-buffers.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=3439c85d254774bd6debaedcfcb7fbab21d8a360 diff --git a/utils/v4l2-compliance/v4l2-test-buffers.cpp b/utils/v4l2-compliance/v4l2-test-buffers.cpp index e40461bdcd9c..131fedc6781d 100644 --- a/utils/v4l2-compliance/v4l2-test-buffers.cpp +++ b/utils/v4l2-compliance/v4l2-test-buffers.cpp @@ -449,7 +449,10 @@ int buffer::check(unsigned type, unsigned memory, unsigned index, "got sequence number %u, expected %u\n", g_sequence(), seq.last_seq + 1); } - } else if (static_cast<int>(g_sequence()) != seq.last_seq + 1) { + } else if (!v4l_type_is_meta(g_type()) && static_cast<int>(g_sequence()) != seq.last_seq + 1) { + // Don't do this for meta streams: the sequence counter is typically + // linked to the video capture to sync the metadata with the video + // data. So the sequence counter would start at a non-zero value. warn_or_info(is_vivid, "got sequence number %u, expected %u\n", g_sequence(), seq.last_seq + 1); } _______________________________________________ linuxtv-commits mailing list [email protected] https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
