v4l2: improve debug

This commit is contained in:
Wim Taymans 2022-11-04 11:00:56 +01:00
parent 4a92f355ad
commit 5a299e5685

View file

@ -1743,6 +1743,8 @@ static int vidioc_reqbufs(struct file *file, struct v4l2_requestbuffers *arg)
pw_log_info("result count: %u", arg->count); pw_log_info("result count: %u", arg->count);
exit_unlock: exit_unlock:
if (res < 0)
pw_log_info("error : %s", spa_strerror(res));
pw_thread_loop_unlock(file->loop); pw_thread_loop_unlock(file->loop);
return res; return res;
} }