sysprog21 / vcam

Virtual camera device driver for Linux
MIT License
105 stars 45 forks source link

Pass v4l2-compliance on VIDEOC_S/G_PARM section #19

Closed kevinshieh0225 closed 2 years ago

kevinshieh0225 commented 2 years ago

The origin version put vcam_g_parm and vcam_s_parm in opposite position in struct v4l2_ioctl_ops field.

Switch the position and modify vcam_s_parm to add assignment of capability. Pass the v4l2-compliance test on VIDEOC_S/G_PARM section.