S_BUFWAIT
start = (cam->state == S_BUFWAIT) && !list_empty(&cam->buffers);
cam->state = S_BUFWAIT;
if (cam->state == S_BUFWAIT) {