mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 06:39:39 +00:00
Add missing error log
Log video buffer initialization failure in v4l2_sink.
This commit is contained in:
parent
5caeb2f624
commit
05c8ed1640
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ sc_v4l2_sink_open(struct sc_v4l2_sink *vs) {
|
||||||
|
|
||||||
bool ok = sc_video_buffer_init(&vs->vb, &cbs, vs);
|
bool ok = sc_video_buffer_init(&vs->vb, &cbs, vs);
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
|
LOGE("Could not initialize video buffer");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue