add check for libv4l2 and make the v4l2 op conditional