]> granicus.if.org Git - strace/commit
tests: check decoding of the remaining V4L2_BUF_TYPE_* types
authorEdgar Kaziahmedov <edos@linux.com>
Thu, 13 Apr 2017 23:39:04 +0000 (02:39 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 13 Apr 2017 23:47:43 +0000 (23:47 +0000)
commit3860effe9a0f9356df5cef7965b74c4a748bfe8b
tree871af06768116fbedd95d17b8fb56a2df25e59a2
parenta1c10a1e7778002bcd0c5b458b436aa90ee1e700
tests: check decoding of the remaining V4L2_BUF_TYPE_* types

* tests/ioctl_v4l2.c (init_v4l2_format, print_ioctl_v4l2): New functions
to avoid code duplication in VIDIOC_S_FMT and VIDIOC_TRY_FMT tests.
(main) <VIDIOC_G_FMT, VIDIOC_S_FMT, VIDIOC_TRY_FMT>: Use them.  Add
checks for remaining V4L2_BUF_TYPE_* types.

Signed-off-by: Edgar Kaziahmedov <edos@linux.com>
tests/ioctl_v4l2.c