提交 5524f378 编写于 作者: R Romain Vimont

Add missing error log

Log video buffer initialization failure in v4l2_sink.
上级 4ed3aa36
...@@ -143,6 +143,7 @@ static bool ...@@ -143,6 +143,7 @@ static bool
sc_v4l2_sink_open(struct sc_v4l2_sink *vs) { sc_v4l2_sink_open(struct sc_v4l2_sink *vs) {
bool ok = video_buffer_init(&vs->vb); bool ok = video_buffer_init(&vs->vb);
if (!ok) { if (!ok) {
LOGE("Could not initialize video buffer");
return false; return false;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册