diff mbox series

[v4l-utils,v2,6/7] utils: media-ctl: Print the INTERNAL pad flag

Message ID 20240424152230.31923-7-laurent.pinchart@ideasonboard.com
State New
Headers show
Series Support for the generic line-based metadata support | expand

Commit Message

Laurent Pinchart April 24, 2024, 3:22 p.m. UTC
From: Sakari Ailus <sakari.ailus@linux.intel.com>

Add the INTERNAL pad flag to the list of known flags, to print it by
name instead of numerical value.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 utils/media-ctl/media-ctl.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/utils/media-ctl/media-ctl.c b/utils/media-ctl/media-ctl.c
index 1a9e393ac1f3..510479d83de4 100644
--- a/utils/media-ctl/media-ctl.c
+++ b/utils/media-ctl/media-ctl.c
@@ -517,6 +517,7 @@  static void media_print_topology_text_entity(struct media_device *media,
 		{ MEDIA_PAD_FL_SINK, "SINK" },
 		{ MEDIA_PAD_FL_SOURCE, "SOURCE" },
 		{ MEDIA_PAD_FL_MUST_CONNECT, "MUST_CONNECT" },
+		{ MEDIA_PAD_FL_INTERNAL, "INTERNAL" },
 	};
 	const struct media_entity_desc *info = media_entity_get_info(entity);
 	const char *devname = media_entity_get_devname(entity);