diff mbox series

[05/10] libv4l2util: recognize V4L2_CAP_AUDIO_M2M

Message ID b121a0deed5eb4d34fe16ce9d21915532b74cdaa.1705503477.git.hverkuil-cisco@xs4all.nl
State New
Headers show
Series [01/10,DO,NOT,MERGE] Sync with audio repo | expand

Commit Message

Hans Verkuil Jan. 17, 2024, 3:02 p.m. UTC
Detect the V4L2_CAP_AUDIO_M2M capability.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
---
 utils/libv4l2util/v4l2_driver.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/utils/libv4l2util/v4l2_driver.c b/utils/libv4l2util/v4l2_driver.c
index 6b6366fa..0c881b0c 100644
--- a/utils/libv4l2util/v4l2_driver.c
+++ b/utils/libv4l2util/v4l2_driver.c
@@ -164,6 +164,8 @@  static char *prt_caps(uint32_t caps)
 		strcat (s,"META_OUTPUT ");
 	if(V4L2_CAP_TOUCH & caps)
 		strcat (s,"TOUCH ");
+	if(V4L2_CAP_AUDIO_M2M & caps)
+		strcat (s,"AUDIO_M2M ");
 	if(V4L2_CAP_IO_MC & caps)
 		strcat (s,"IO_MC ");