aboutsummaryrefslogtreecommitdiffstats
path: root/utils/common/media-info.cpp
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2018-07-01 14:34:40 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2018-07-01 14:34:40 +0200
commit5f4d76cf6708e36114130bf10aa37c417fc7ec43 (patch)
tree48ba07003ae3f9b2c93a75b0d8c2397ee06c3073 /utils/common/media-info.cpp
parent9110b47d6b4155a9d5658ab886b6bcc076105cc5 (diff)
v4l2-compliance: show data link flags
Show the data link flags. Interface link flags are not shown since they are always the same. Drop the unwanted "Entity Link" messages. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils/common/media-info.cpp')
-rw-r--r--utils/common/media-info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/common/media-info.cpp b/utils/common/media-info.cpp
index 4981685a..f3aefe10 100644
--- a/utils/common/media-info.cpp
+++ b/utils/common/media-info.cpp
@@ -370,7 +370,7 @@ static const flag_def link_flags_def[] = {
std::string linkflags2s(__u32 flags)
{
- std::string s = flags2s(flags, link_flags_def);
+ std::string s = flags2s(flags & ~MEDIA_LNK_FL_LINK_TYPE, link_flags_def);
if (!s.empty())
s = ", " + s;

Privacy Policy