Printing metadata formats was supported separately with
--list-formats-meta but no meta formats were printed with --all option.
Fix this.
Fixes: b3f1cf6b8519 ("v4l2-compliance/v4l2-ctl: support
V4L2_CTRL_FLAG_MODIFY_LAYOUT and metadata")
Signed-off-by: Sakari Ailus <[email protected]>
---
utils/v4l2-ctl/v4l2-ctl.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/utils/v4l2-ctl/v4l2-ctl.cpp b/utils/v4l2-ctl/v4l2-ctl.cpp
index a65262f65e..1783979d76 100644
--- a/utils/v4l2-ctl/v4l2-ctl.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl.cpp
@@ -1246,6 +1246,7 @@ int main(int argc, char **argv)
options[OptGetSlicedVbiOutFormat] = 1;
options[OptGetSdrFormat] = 1;
options[OptGetSdrOutFormat] = 1;
+ options[OptGetMetaFormat] = 1;
options[OptGetFBuf] = 1;
options[OptGetCropCap] = 1;
options[OptGetOutputCropCap] = 1;
--
2.11.0