@@ -943,7 +943,7 @@ while (<>) {
}
if (grep {/^#define V4L2_BUF_CAP_SUPPORTS_MMAP\s+/} $_) {
printf $fh_common_info_h "constexpr flag_def v4l2_buf_cap_flag_def[] = {\n";
- flag_def_gen("V4L2_BUF_CAP_SUPPORTS_MMAP_CACHE_HINTS");
+ flag_def_gen("V4L2_BUF_CAP_SUPPORTS_MAX_NUM_BUFFERS");
next;
}
if (grep {/^#define V4L2_STD_PAL_B\s+/} $_) {
@@ -1518,6 +1518,7 @@ constexpr flag_def v4l2_buf_cap_flag_def[] = {
{ V4L2_BUF_CAP_SUPPORTS_ORPHANED_BUFS, "V4L2_BUF_CAP_SUPPORTS_ORPHANED_BUFS" },
{ V4L2_BUF_CAP_SUPPORTS_M2M_HOLD_CAPTURE_BUF, "V4L2_BUF_CAP_SUPPORTS_M2M_HOLD_CAPTURE_BUF" },
{ V4L2_BUF_CAP_SUPPORTS_MMAP_CACHE_HINTS, "V4L2_BUF_CAP_SUPPORTS_MMAP_CACHE_HINTS" },
+ { V4L2_BUF_CAP_SUPPORTS_MAX_NUM_BUFFERS, "V4L2_BUF_CAP_SUPPORTS_MAX_NUM_BUFFERS" },
{ 0, "" }
};
In the last sync of the kernel headers, the autogeneration script failed to pick up the new flag V4L2_BUF_CAP_SUPPORTS_MAX_NUM_BUFFERS, so add it. Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com> --- utils/v4l2-tracer/v4l2-tracer-gen.pl | 2 +- utils/v4l2-tracer/v4l2-tracer-info-gen.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)