Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compliance: stop declaring V4L2_CAP_VIDEO_M2M capability
v4l2-compliance complains about "Video Capture cap set, but no Video Capture formats defined" because V4L2_CAP_VIDEO_M2M is set and yet vidioc_enum_fmt_cap implementation would simply return -EINVAL before being ready for capturing. V4L2 memory-to-memory operatons have never been actually supported. It was introduced in an attempt to fix #67, VIDIOC_G/S_PRIORITY test failures reported by v4l2-compliance, but VIDIOC_G/S_PRIORITY is an exclusive feature when V4L2 file handle framework is used, and this was certainly not the case until #345 that brought in v4l2_fh for V4L2 Event API support. This change removes all declarations of M2M support. Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
- Loading branch information