Adapt to raspberry camera api, coz v4l2 is too cool for them