diff mbox series

v4l2-info: add flag V4L2_PIX_FMT_FLAG_SET_CSC

Message ID 20220920002159.17734-1-deborah.brouwer@collabora.com (mailing list archive)
State New, archived
Headers show
Series v4l2-info: add flag V4L2_PIX_FMT_FLAG_SET_CSC | expand

Commit Message

Deborah Brouwer Sept. 20, 2022, 12:21 a.m. UTC
Add a string value for V4L2_PIX_FMT_FLAG_SET_CSC in pixflags2s().

Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
---
This flag was originally added in:

b38c73ca1c213 ("media: v4l2: add support for colorspace
               conversion API (CSC) for video capture")

 utils/common/v4l2-info.cpp | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/utils/common/v4l2-info.cpp b/utils/common/v4l2-info.cpp
index c4dbb14e..a7964ad0 100644
--- a/utils/common/v4l2-info.cpp
+++ b/utils/common/v4l2-info.cpp
@@ -347,6 +347,7 @@  std::string quantization2s(int val)
 
 static constexpr flag_def pixflags_def[] = {
 	{ V4L2_PIX_FMT_FLAG_PREMUL_ALPHA,  "premultiplied-alpha" },
+	{ V4L2_PIX_FMT_FLAG_SET_CSC,  "set-csc" },
 	{ 0, nullptr }
 };