v4l2: do not keep non-capture devices open
Created by: pH5
If VIDIOC_QUERYCAP fails, or V4L2_CAP_VIDEO_CAPTURE is not set, spa_v4l2_open should close the port file descriptor again.
Created by: pH5
If VIDIOC_QUERYCAP fails, or V4L2_CAP_VIDEO_CAPTURE is not set, spa_v4l2_open should close the port file descriptor again.