This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: sync-with-kernel.sh: filter V4L2_META_FMT_GENERIC_ defines Author: Hans Verkuil <hverkuil-ci...@xs4all.nl> Date: Mon Apr 29 15:04:37 2024 +0200 These meta formats are not yet enabled (under #ifdef __KERNEL__), so drop these for now. Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl> sync-with-kernel.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=1cb86d3a502eb5456405eae9ecafa3b8154bc588 diff --git a/sync-with-kernel.sh b/sync-with-kernel.sh index a11545dd8d0d..a882006d4023 100755 --- a/sync-with-kernel.sh +++ b/sync-with-kernel.sh @@ -53,7 +53,10 @@ patch -d ${TOPSRCDIR} --no-backup-if-mismatch -p1 <${TOPSRCDIR}/utils/common/v4l cp -a ${KERNEL_DIR}/drivers/media/test-drivers/vicodec/codec-fwht.[ch] ${TOPSRCDIR}/utils/common/ cp -a ${KERNEL_DIR}/drivers/media/test-drivers/vicodec/codec-v4l2-fwht.[ch] ${TOPSRCDIR}/utils/common/ patch -d ${TOPSRCDIR} --no-backup-if-mismatch -p1 <${TOPSRCDIR}/utils/common/codec-fwht.patch -grep V4L2_.*_FMT.*descr ${KERNEL_DIR}/drivers/media/v4l2-core/v4l2-ioctl.c | perl -pe 's/.*V4L2_(.*)_FMT/\tcase V4L2_\1_FMT/; s/:.*descr = /: return /; s/;.*/;/;' >${TOPSRCDIR}/utils/common/v4l2-pix-formats.h + +# Remove the ' | grep -v V4L2_META_FMT_GENERIC_' part once these meta formats +# are enabled in videodev2.h. Currently these are under #ifdef __KERNEL__. +grep V4L2_.*_FMT.*descr ${KERNEL_DIR}/drivers/media/v4l2-core/v4l2-ioctl.c | grep -v V4L2_META_FMT_GENERIC_ | perl -pe 's/.*V4L2_(.*)_FMT/\tcase V4L2_\1_FMT/; s/:.*descr = /: return /; s/;.*/;/;' >${TOPSRCDIR}/utils/common/v4l2-pix-formats.h function keytable { SRCDIR=${TOPSRCDIR}/utils/keytable