aboutsummaryrefslogtreecommitdiffstats
path: root/sync-with-kernel.sh
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-03-11 17:47:00 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-03-11 17:47:00 +0100
commita6eab98a2a046f59514bcc33f549d22626d05b2e (patch)
tree9dbe860a37beb5b3fb1304f347ecbc9eb4eb685e /sync-with-kernel.sh
parentf253495fa6de2b01fdf56d496b9ee71b04558409 (diff)
v4l-utils: sync with latest media kernel
Also drop the 'grep -v V4L2_PIX_FMT_H264_SLICE' in sync-with-kernel.sh. This is now part of the stable API, so allow this. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'sync-with-kernel.sh')
-rwxr-xr-xsync-with-kernel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync-with-kernel.sh b/sync-with-kernel.sh
index c57f38bb..fa881949 100755
--- a/sync-with-kernel.sh
+++ b/sync-with-kernel.sh
@@ -50,7 +50,7 @@ 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 | grep -v V4L2_PIX_FMT_H264_SLICE | grep -v V4L2_PIX_FMT_VP8_FRAME | grep -v V4L2_PIX_FMT_HEVC_SLICE | perl -pe 's/.*V4L2_(.*)_FMT/\tcase V4L2_\1_FMT/; s/:.*descr = /: return /; s/;.*/;/;' >${TOPSRCDIR}/utils/common/v4l2-pix-formats.h
+grep V4L2_.*_FMT.*descr ${KERNEL_DIR}/drivers/media/v4l2-core/v4l2-ioctl.c | grep -v V4L2_PIX_FMT_VP8_FRAME | grep -v V4L2_PIX_FMT_HEVC_SLICE | 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

Privacy Policy