mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-01 21:54:31 +00:00
v4l2: improve debug
This commit is contained in:
parent
4a92f355ad
commit
5a299e5685
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue