Add missing error log

Log video buffer initialization failure in v4l2_sink.
This commit is contained in:
Romain Vimont 2021-07-04 15:47:39 +02:00
parent 4ed3aa3604
commit 5524f378c8

View File

@ -143,6 +143,7 @@ static bool
sc_v4l2_sink_open(struct sc_v4l2_sink *vs) {
bool ok = video_buffer_init(&vs->vb);
if (!ok) {
LOGE("Could not initialize video buffer");
return false;
}