v4l2: wrongly assumes pitch = width
If the line pitch is larger than the pixel width, the V4L2 input screws up the video format.
If the line pitch is larger than the pixel width, the V4L2 input screws up the video format.
VideoLAN code repository instance